Package namespace.cloud.compute.v1beta
Class Compute.ExtendInstanceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ExtendInstanceRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ExtendInstanceRequest.Builder>
namespace.cloud.compute.v1beta.Compute.ExtendInstanceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.ExtendInstanceRequestOrBuilder
- Enclosing class:
Compute.ExtendInstanceRequest
public static final class Compute.ExtendInstanceRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.ExtendInstanceRequest.Builder>
implements Compute.ExtendInstanceRequestOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.ExtendInstanceRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The minimum duration this instance should be running.The duration this instance should be extended by.The ID of the instance which should be extended.The new deadline (in UTC) at which the instance is destroyed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe minimum duration this instance should be running.com.google.protobuf.Duration.BuilderThe minimum duration this instance should be running.com.google.protobuf.DurationOrBuilderThe minimum duration this instance should be running.com.google.protobuf.DurationThe duration this instance should be extended by.com.google.protobuf.Duration.BuilderThe duration this instance should be extended by.com.google.protobuf.DurationOrBuilderThe duration this instance should be extended by.The ID of the instance which should be extended.com.google.protobuf.ByteStringThe ID of the instance which should be extended.com.google.protobuf.TimestampThe new deadline (in UTC) at which the instance is destroyed.com.google.protobuf.Timestamp.BuilderThe new deadline (in UTC) at which the instance is destroyed.com.google.protobuf.TimestampOrBuilderThe new deadline (in UTC) at which the instance is destroyed.booleanThe minimum duration this instance should be running.booleanThe duration this instance should be extended by.booleanThe new deadline (in UTC) at which the instance is destroyed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEnsureMinimum(com.google.protobuf.Duration value) The minimum duration this instance should be running.mergeExtendBy(com.google.protobuf.Duration value) The duration this instance should be extended by.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNewDeadline(com.google.protobuf.Timestamp value) The new deadline (in UTC) at which the instance is destroyed.setEnsureMinimum(com.google.protobuf.Duration value) The minimum duration this instance should be running.setEnsureMinimum(com.google.protobuf.Duration.Builder builderForValue) The minimum duration this instance should be running.setExtendBy(com.google.protobuf.Duration value) The duration this instance should be extended by.setExtendBy(com.google.protobuf.Duration.Builder builderForValue) The duration this instance should be extended by.setInstanceId(String value) The ID of the instance which should be extended.setInstanceIdBytes(com.google.protobuf.ByteString value) The ID of the instance which should be extended.setNewDeadline(com.google.protobuf.Timestamp value) The new deadline (in UTC) at which the instance is destroyed.setNewDeadline(com.google.protobuf.Timestamp.Builder builderForValue) The new deadline (in UTC) at which the instance is destroyed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExtendInstanceRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExtendInstanceRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExtendInstanceRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ExtendInstanceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExtendInstanceRequest.Builder>
-
mergeFrom
public Compute.ExtendInstanceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ExtendInstanceRequest.Builder>- Throws:
IOException
-
getInstanceId
The ID of the instance which should be extended.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The ID of the instance which should be extended.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The ID of the instance which should be extended.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The ID of the instance which should be extended.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
public Compute.ExtendInstanceRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value) The ID of the instance which should be extended.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
hasExtendBy
public boolean hasExtendBy()The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2;- Specified by:
hasExtendByin interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- Whether the extendBy field is set.
-
getExtendBy
public com.google.protobuf.Duration getExtendBy()The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2;- Specified by:
getExtendByin interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- The extendBy.
-
setExtendBy
The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2; -
setExtendBy
public Compute.ExtendInstanceRequest.Builder setExtendBy(com.google.protobuf.Duration.Builder builderForValue) The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2; -
mergeExtendBy
The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2; -
clearExtendBy
The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2; -
getExtendByBuilder
public com.google.protobuf.Duration.Builder getExtendByBuilder()The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2; -
getExtendByOrBuilder
public com.google.protobuf.DurationOrBuilder getExtendByOrBuilder()The duration this instance should be extended by. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration extend_by = 2;- Specified by:
getExtendByOrBuilderin interfaceCompute.ExtendInstanceRequestOrBuilder
-
hasEnsureMinimum
public boolean hasEnsureMinimum()The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3;- Specified by:
hasEnsureMinimumin interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- Whether the ensureMinimum field is set.
-
getEnsureMinimum
public com.google.protobuf.Duration getEnsureMinimum()The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3;- Specified by:
getEnsureMinimumin interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- The ensureMinimum.
-
setEnsureMinimum
The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3; -
setEnsureMinimum
public Compute.ExtendInstanceRequest.Builder setEnsureMinimum(com.google.protobuf.Duration.Builder builderForValue) The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3; -
mergeEnsureMinimum
The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3; -
clearEnsureMinimum
The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3; -
getEnsureMinimumBuilder
public com.google.protobuf.Duration.Builder getEnsureMinimumBuilder()The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3; -
getEnsureMinimumOrBuilder
public com.google.protobuf.DurationOrBuilder getEnsureMinimumOrBuilder()The minimum duration this instance should be running. Note: In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
.google.protobuf.Duration ensure_minimum = 3;- Specified by:
getEnsureMinimumOrBuilderin interfaceCompute.ExtendInstanceRequestOrBuilder
-
hasNewDeadline
public boolean hasNewDeadline()The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4;- Specified by:
hasNewDeadlinein interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- Whether the newDeadline field is set.
-
getNewDeadline
public com.google.protobuf.Timestamp getNewDeadline()The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4;- Specified by:
getNewDeadlinein interfaceCompute.ExtendInstanceRequestOrBuilder- Returns:
- The newDeadline.
-
setNewDeadline
The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4; -
setNewDeadline
public Compute.ExtendInstanceRequest.Builder setNewDeadline(com.google.protobuf.Timestamp.Builder builderForValue) The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4; -
mergeNewDeadline
The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4; -
clearNewDeadline
The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4; -
getNewDeadlineBuilder
public com.google.protobuf.Timestamp.Builder getNewDeadlineBuilder()The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4; -
getNewDeadlineOrBuilder
public com.google.protobuf.TimestampOrBuilder getNewDeadlineOrBuilder()The new deadline (in UTC) at which the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp new_deadline = 4;- Specified by:
getNewDeadlineOrBuilderin interfaceCompute.ExtendInstanceRequestOrBuilder
-