Class CommitmentResourceStatus.Builder (1.65.0)

public static final class CommitmentResourceStatus.Builder extends GeneratedMessageV3.Builder<CommitmentResourceStatus.Builder> implements CommitmentResourceStatusOrBuilder

[Output Only] Contains output only fields.

Protobuf type google.cloud.compute.v1.CommitmentResourceStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CommitmentResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

build()

public CommitmentResourceStatus build()
Returns
Type Description
CommitmentResourceStatus

buildPartial()

public CommitmentResourceStatus buildPartial()
Returns
Type Description
CommitmentResourceStatus

clear()

public CommitmentResourceStatus.Builder clear()
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

clearCustomTermEligibilityEndTimestamp()

public CommitmentResourceStatus.Builder clearCustomTermEligibilityEndTimestamp()

[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.

optional string custom_term_eligibility_end_timestamp = 363976187;

Returns
Type Description
CommitmentResourceStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CommitmentResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitmentResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

clone()

public CommitmentResourceStatus.Builder clone()
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

getCustomTermEligibilityEndTimestamp()

public String getCustomTermEligibilityEndTimestamp()

[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.

optional string custom_term_eligibility_end_timestamp = 363976187;

Returns
Type Description
String

The customTermEligibilityEndTimestamp.

getCustomTermEligibilityEndTimestampBytes()

public ByteString getCustomTermEligibilityEndTimestampBytes()

[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.

optional string custom_term_eligibility_end_timestamp = 363976187;

Returns
Type Description
ByteString

The bytes for customTermEligibilityEndTimestamp.

getDefaultInstanceForType()

public CommitmentResourceStatus getDefaultInstanceForType()
Returns
Type Description
CommitmentResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasCustomTermEligibilityEndTimestamp()

public boolean hasCustomTermEligibilityEndTimestamp()

[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.

optional string custom_term_eligibility_end_timestamp = 363976187;

Returns
Type Description
boolean

Whether the customTermEligibilityEndTimestamp field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommitmentResourceStatus other)

public CommitmentResourceStatus.Builder mergeFrom(CommitmentResourceStatus other)
Parameter
Name Description
other CommitmentResourceStatus
Returns
Type Description
CommitmentResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CommitmentResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CommitmentResourceStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitmentResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

setCustomTermEligibilityEndTimestamp(String value)

public CommitmentResourceStatus.Builder setCustomTermEligibilityEndTimestamp(String value)

[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.

optional string custom_term_eligibility_end_timestamp = 363976187;

Parameter
Name Description
value String

The customTermEligibilityEndTimestamp to set.

Returns
Type Description
CommitmentResourceStatus.Builder

This builder for chaining.

setCustomTermEligibilityEndTimestampBytes(ByteString value)

public CommitmentResourceStatus.Builder setCustomTermEligibilityEndTimestampBytes(ByteString value)

[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.

optional string custom_term_eligibility_end_timestamp = 363976187;

Parameter
Name Description
value ByteString

The bytes for customTermEligibilityEndTimestamp to set.

Returns
Type Description
CommitmentResourceStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CommitmentResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CommitmentResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitmentResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitmentResourceStatus.Builder
Overrides