Interface AllocationOrBuilder (0.1.0)

public interface AllocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocation()

public abstract String getAllocation()

The reservation resource name.

string allocation = 5;

Returns
Type Description
String

The allocation.

getAllocationBytes()

public abstract ByteString getAllocationBytes()

The reservation resource name.

string allocation = 5;

Returns
Type Description
ByteString

The bytes for allocation.

getAutoDeleteTime()

public abstract Timestamp getAutoDeleteTime()

Absolute time in future when the reservation will be auto-deleted by Compute Engine.

.google.protobuf.Timestamp auto_delete_time = 9;

Returns
Type Description
Timestamp

The autoDeleteTime.

getAutoDeleteTimeOrBuilder()

public abstract TimestampOrBuilder getAutoDeleteTimeOrBuilder()

Absolute time in future when the reservation will be auto-deleted by Compute Engine.

.google.protobuf.Timestamp auto_delete_time = 9;

Returns
Type Description
TimestampOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

The creation timestamp for this allocation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The creation timestamp for this allocation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

A description while creating reservation.

string description = 4;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description while creating reservation.

string description = 4;

Returns
Type Description
ByteString

The bytes for description.

getId()

public abstract long getId()

The unique identifier for the resource. This identifier is defined by the server.

int64 id = 1;

Returns
Type Description
long

The id.

getOwnerProjectId()

public abstract String getOwnerProjectId()

string owner_project_id = 10;

Returns
Type Description
String

The ownerProjectId.

getOwnerProjectIdBytes()

public abstract ByteString getOwnerProjectIdBytes()

string owner_project_id = 10;

Returns
Type Description
ByteString

The bytes for ownerProjectId.

getShareSettings()

public abstract Allocation.ShareSettings getShareSettings()

Specify share-settings to create a shared reservation.

.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 8;

Returns
Type Description
Allocation.ShareSettings

The shareSettings.

getShareSettingsOrBuilder()

public abstract Allocation.ShareSettingsOrBuilder getShareSettingsOrBuilder()

Specify share-settings to create a shared reservation.

.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 8;

Returns
Type Description
Allocation.ShareSettingsOrBuilder

getSpecificAllocation()

public abstract Allocation.SpecificSKUAllocation getSpecificAllocation()

Reservation for instances with specific machine shapes.

.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation specific_allocation = 6;

Returns
Type Description
Allocation.SpecificSKUAllocation

The specificAllocation.

getSpecificAllocationOrBuilder()

public abstract Allocation.SpecificSKUAllocationOrBuilder getSpecificAllocationOrBuilder()

Reservation for instances with specific machine shapes.

.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation specific_allocation = 6;

Returns
Type Description
Allocation.SpecificSKUAllocationOrBuilder

getStatus()

public abstract Allocation.Status getStatus()

The status of the reservation.

.google.cloud.capacityplanner.v1beta.Allocation.Status status = 7;

Returns
Type Description
Allocation.Status

The status.

getStatusValue()

public abstract int getStatusValue()

The status of the reservation.

.google.cloud.capacityplanner.v1beta.Allocation.Status status = 7;

Returns
Type Description
int

The enum numeric value on the wire for status.

getTypeCase()

public abstract Allocation.TypeCase getTypeCase()
Returns
Type Description
Allocation.TypeCase

getZone()

public abstract String getZone()

Zone in which the reservation resides.

string zone = 3;

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Zone in which the reservation resides.

string zone = 3;

Returns
Type Description
ByteString

The bytes for zone.

hasAutoDeleteTime()

public abstract boolean hasAutoDeleteTime()

Absolute time in future when the reservation will be auto-deleted by Compute Engine.

.google.protobuf.Timestamp auto_delete_time = 9;

Returns
Type Description
boolean

Whether the autoDeleteTime field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

The creation timestamp for this allocation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

hasShareSettings()

public abstract boolean hasShareSettings()

Specify share-settings to create a shared reservation.

.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 8;

Returns
Type Description
boolean

Whether the shareSettings field is set.

hasSpecificAllocation()

public abstract boolean hasSpecificAllocation()

Reservation for instances with specific machine shapes.

.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation specific_allocation = 6;

Returns
Type Description
boolean

Whether the specificAllocation field is set.