public static final class FutureReservation.Builder extends GeneratedMessageV3.Builder<FutureReservation.Builder> implements FutureReservationOrBuilderRepesents Future Reservation request which is part of aggregated reservations data response of "QueryReservations".
Protobuf type google.cloud.capacityplanner.v1beta.FutureReservation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FutureReservation.BuilderImplements
FutureReservationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
build()
public FutureReservation build()| Returns | |
|---|---|
| Type | Description |
FutureReservation |
|
buildPartial()
public FutureReservation buildPartial()| Returns | |
|---|---|
| Type | Description |
FutureReservation |
|
clear()
public FutureReservation.Builder clear()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearAutoCreatedReservationsDeleteTime()
public FutureReservation.Builder clearAutoCreatedReservationsDeleteTime()Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearAutoDeleteAutoCreatedReservations()
public FutureReservation.Builder clearAutoDeleteAutoCreatedReservations()Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.
bool auto_delete_auto_created_reservations = 14;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearCreateTime()
public FutureReservation.Builder clearCreateTime()The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearDescription()
public FutureReservation.Builder clearDescription()Description of the future reservation provided by user.
string description = 6;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FutureReservation.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearFutureReservation()
public FutureReservation.Builder clearFutureReservation()The future reservation resource name.
string future_reservation = 7;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearId()
public FutureReservation.Builder clearId()A unique identifier for this future reservation. The server defines this identifier.
int64 id = 1;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearNamePrefix()
public FutureReservation.Builder clearNamePrefix()Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be <name-prefix>-date-####.
string name_prefix = 11;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FutureReservation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearOwnerProjectId()
public FutureReservation.Builder clearOwnerProjectId()string owner_project_id = 15;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearShareSettings()
public FutureReservation.Builder clearShareSettings()List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearSpecificSkuProperties()
public FutureReservation.Builder clearSpecificSkuProperties()Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearStatus()
public FutureReservation.Builder clearStatus()Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearTimeWindow()
public FutureReservation.Builder clearTimeWindow()Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearType()
public FutureReservation.Builder clearType()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearZone()
public FutureReservation.Builder clearZone()URL of the Zone where this future reservation resides.
string zone = 5;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clone()
public FutureReservation.Builder clone()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
getAutoCreatedReservationsDeleteTime()
public Timestamp getAutoCreatedReservationsDeleteTime()Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The autoCreatedReservationsDeleteTime. |
getAutoCreatedReservationsDeleteTimeBuilder()
public Timestamp.Builder getAutoCreatedReservationsDeleteTimeBuilder()Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getAutoCreatedReservationsDeleteTimeOrBuilder()
public TimestampOrBuilder getAutoCreatedReservationsDeleteTimeOrBuilder()Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getAutoDeleteAutoCreatedReservations()
public boolean getAutoDeleteAutoCreatedReservations()Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.
bool auto_delete_auto_created_reservations = 14;
| Returns | |
|---|---|
| Type | Description |
boolean |
The autoDeleteAutoCreatedReservations. |
getCreateTime()
public Timestamp getCreateTime()The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public FutureReservation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FutureReservation |
|
getDescription()
public String getDescription()Description of the future reservation provided by user.
string description = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Description of the future reservation provided by user.
string description = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFutureReservation()
public String getFutureReservation()The future reservation resource name.
string future_reservation = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The futureReservation. |
getFutureReservationBytes()
public ByteString getFutureReservationBytes()The future reservation resource name.
string future_reservation = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for futureReservation. |
getId()
public long getId()A unique identifier for this future reservation. The server defines this identifier.
int64 id = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getNamePrefix()
public String getNamePrefix()Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be <name-prefix>-date-####.
string name_prefix = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The namePrefix. |
getNamePrefixBytes()
public ByteString getNamePrefixBytes()Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be <name-prefix>-date-####.
string name_prefix = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for namePrefix. |
getOwnerProjectId()
public String getOwnerProjectId()string owner_project_id = 15;
| Returns | |
|---|---|
| Type | Description |
String |
The ownerProjectId. |
getOwnerProjectIdBytes()
public ByteString getOwnerProjectIdBytes()string owner_project_id = 15;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ownerProjectId. |
getShareSettings()
public Allocation.ShareSettings getShareSettings()List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Returns | |
|---|---|
| Type | Description |
Allocation.ShareSettings |
The shareSettings. |
getShareSettingsBuilder()
public Allocation.ShareSettings.Builder getShareSettingsBuilder()List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Returns | |
|---|---|
| Type | Description |
Allocation.ShareSettings.Builder |
|
getShareSettingsOrBuilder()
public Allocation.ShareSettingsOrBuilder getShareSettingsOrBuilder()List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Returns | |
|---|---|
| Type | Description |
Allocation.ShareSettingsOrBuilder |
|
getSpecificSkuProperties()
public FutureReservation.SpecificSKUProperties getSpecificSkuProperties()Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.SpecificSKUProperties |
The specificSkuProperties. |
getSpecificSkuPropertiesBuilder()
public FutureReservation.SpecificSKUProperties.Builder getSpecificSkuPropertiesBuilder()Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.SpecificSKUProperties.Builder |
|
getSpecificSkuPropertiesOrBuilder()
public FutureReservation.SpecificSKUPropertiesOrBuilder getSpecificSkuPropertiesOrBuilder()Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.SpecificSKUPropertiesOrBuilder |
|
getStatus()
public FutureReservation.Status getStatus()Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status |
The status. |
getStatusBuilder()
public FutureReservation.Status.Builder getStatusBuilder()Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
getStatusOrBuilder()
public FutureReservation.StatusOrBuilder getStatusOrBuilder()Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.StatusOrBuilder |
|
getTimeWindow()
public FutureReservation.TimeWindow getTimeWindow()Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.TimeWindow |
The timeWindow. |
getTimeWindowBuilder()
public FutureReservation.TimeWindow.Builder getTimeWindowBuilder()Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.TimeWindow.Builder |
|
getTimeWindowOrBuilder()
public FutureReservation.TimeWindowOrBuilder getTimeWindowOrBuilder()Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.TimeWindowOrBuilder |
|
getTypeCase()
public FutureReservation.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
FutureReservation.TypeCase |
|
getZone()
public String getZone()URL of the Zone where this future reservation resides.
string zone = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()URL of the Zone where this future reservation resides.
string zone = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasAutoCreatedReservationsDeleteTime()
public boolean hasAutoCreatedReservationsDeleteTime()Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the autoCreatedReservationsDeleteTime field is set. |
hasCreateTime()
public boolean hasCreateTime()The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasShareSettings()
public boolean hasShareSettings()List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shareSettings field is set. |
hasSpecificSkuProperties()
public boolean hasSpecificSkuProperties()Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the specificSkuProperties field is set. |
hasStatus()
public boolean hasStatus()Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
hasTimeWindow()
public boolean hasTimeWindow()Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeWindow field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAutoCreatedReservationsDeleteTime(Timestamp value)
public FutureReservation.Builder mergeAutoCreatedReservationsDeleteTime(Timestamp value)Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeCreateTime(Timestamp value)
public FutureReservation.Builder mergeCreateTime(Timestamp value)The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeFrom(FutureReservation other)
public FutureReservation.Builder mergeFrom(FutureReservation other)| Parameter | |
|---|---|
| Name | Description |
other |
FutureReservation |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FutureReservation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FutureReservation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeShareSettings(Allocation.ShareSettings value)
public FutureReservation.Builder mergeShareSettings(Allocation.ShareSettings value)List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Allocation.ShareSettings |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeSpecificSkuProperties(FutureReservation.SpecificSKUProperties value)
public FutureReservation.Builder mergeSpecificSkuProperties(FutureReservation.SpecificSKUProperties value)Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservation.SpecificSKUProperties |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeStatus(FutureReservation.Status value)
public FutureReservation.Builder mergeStatus(FutureReservation.Status value)Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservation.Status |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeTimeWindow(FutureReservation.TimeWindow value)
public FutureReservation.Builder mergeTimeWindow(FutureReservation.TimeWindow value)Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservation.TimeWindow |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAutoCreatedReservationsDeleteTime(Timestamp value)
public FutureReservation.Builder setAutoCreatedReservationsDeleteTime(Timestamp value)Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAutoCreatedReservationsDeleteTime(Timestamp.Builder builderForValue)
public FutureReservation.Builder setAutoCreatedReservationsDeleteTime(Timestamp.Builder builderForValue)Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
.google.protobuf.Timestamp auto_created_reservations_delete_time = 13;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAutoDeleteAutoCreatedReservations(boolean value)
public FutureReservation.Builder setAutoDeleteAutoCreatedReservations(boolean value)Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.
bool auto_delete_auto_created_reservations = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe autoDeleteAutoCreatedReservations to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public FutureReservation.Builder setCreateTime(Timestamp value)The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public FutureReservation.Builder setCreateTime(Timestamp.Builder builderForValue)The creation timestamp for this future reservation.
.google.protobuf.Timestamp create_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setDescription(String value)
public FutureReservation.Builder setDescription(String value)Description of the future reservation provided by user.
string description = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public FutureReservation.Builder setDescriptionBytes(ByteString value)Description of the future reservation provided by user.
string description = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setFutureReservation(String value)
public FutureReservation.Builder setFutureReservation(String value)The future reservation resource name.
string future_reservation = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe futureReservation to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setFutureReservationBytes(ByteString value)
public FutureReservation.Builder setFutureReservationBytes(ByteString value)The future reservation resource name.
string future_reservation = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for futureReservation to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setId(long value)
public FutureReservation.Builder setId(long value)A unique identifier for this future reservation. The server defines this identifier.
int64 id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe id to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setNamePrefix(String value)
public FutureReservation.Builder setNamePrefix(String value)Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be <name-prefix>-date-####.
string name_prefix = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe namePrefix to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setNamePrefixBytes(ByteString value)
public FutureReservation.Builder setNamePrefixBytes(ByteString value)Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be <name-prefix>-date-####.
string name_prefix = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for namePrefix to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setOwnerProjectId(String value)
public FutureReservation.Builder setOwnerProjectId(String value)string owner_project_id = 15;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ownerProjectId to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setOwnerProjectIdBytes(ByteString value)
public FutureReservation.Builder setOwnerProjectIdBytes(ByteString value)string owner_project_id = 15;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ownerProjectId to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FutureReservation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setShareSettings(Allocation.ShareSettings value)
public FutureReservation.Builder setShareSettings(Allocation.ShareSettings value)List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Allocation.ShareSettings |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setShareSettings(Allocation.ShareSettings.Builder builderForValue)
public FutureReservation.Builder setShareSettings(Allocation.ShareSettings.Builder builderForValue)List of Projects/Folders to share with.
.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings share_settings = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Allocation.ShareSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setSpecificSkuProperties(FutureReservation.SpecificSKUProperties value)
public FutureReservation.Builder setSpecificSkuProperties(FutureReservation.SpecificSKUProperties value)Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservation.SpecificSKUProperties |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setSpecificSkuProperties(FutureReservation.SpecificSKUProperties.Builder builderForValue)
public FutureReservation.Builder setSpecificSkuProperties(FutureReservation.SpecificSKUProperties.Builder builderForValue)Future Reservation configuration to indicate instance properties and total count.
.google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties specific_sku_properties = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureReservation.SpecificSKUProperties.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setStatus(FutureReservation.Status value)
public FutureReservation.Builder setStatus(FutureReservation.Status value)Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservation.Status |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setStatus(FutureReservation.Status.Builder builderForValue)
public FutureReservation.Builder setStatus(FutureReservation.Status.Builder builderForValue)Status of the Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status status = 12;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureReservation.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setTimeWindow(FutureReservation.TimeWindow value)
public FutureReservation.Builder setTimeWindow(FutureReservation.TimeWindow value)Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservation.TimeWindow |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setTimeWindow(FutureReservation.TimeWindow.Builder builderForValue)
public FutureReservation.Builder setTimeWindow(FutureReservation.TimeWindow.Builder builderForValue)Time window for this Future Reservation.
.google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow time_window = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureReservation.TimeWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setZone(String value)
public FutureReservation.Builder setZone(String value)URL of the Zone where this future reservation resides.
string zone = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public FutureReservation.Builder setZoneBytes(ByteString value)URL of the Zone where this future reservation resides.
string zone = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |