Package namespace.cloud.compute.v1beta
Class Compute.WaitInstanceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.WaitInstanceRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.WaitInstanceRequest.Builder>
namespace.cloud.compute.v1beta.Compute.WaitInstanceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.WaitInstanceRequestOrBuilder
- Enclosing class:
Compute.WaitInstanceRequest
public static final class Compute.WaitInstanceRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.WaitInstanceRequest.Builder>
implements Compute.WaitInstanceRequestOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.WaitInstanceRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The ID of the container to wait for.The name of the container to wait for.If set to true, we don't fail the request if the instance is destroyed while waiting.The ID of instance which this call targets.The ID of the container to wait for.com.google.protobuf.ByteStringThe ID of the container to wait for.The name of the container to wait for.com.google.protobuf.ByteStringThe name of the container to wait for.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf set to true, we don't fail the request if the instance is destroyed while waiting.The ID of instance which this call targets.com.google.protobuf.ByteStringThe ID of instance which this call targets.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setContainerId(String value) The ID of the container to wait for.setContainerIdBytes(com.google.protobuf.ByteString value) The ID of the container to wait for.setContainerName(String value) The name of the container to wait for.setContainerNameBytes(com.google.protobuf.ByteString value) The name of the container to wait for.setDestroyedOk(boolean value) If set to true, we don't fail the request if the instance is destroyed while waiting.setInstanceId(String value) The ID of instance which this call targets.setInstanceIdBytes(com.google.protobuf.ByteString value) The ID of instance which this call targets.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.WaitInstanceRequest.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.WaitInstanceRequest.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.WaitInstanceRequest.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.WaitInstanceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.WaitInstanceRequest.Builder>
-
mergeFrom
public Compute.WaitInstanceRequest.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.WaitInstanceRequest.Builder>- Throws:
IOException
-
getInstanceId
The ID of instance which this call targets.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceCompute.WaitInstanceRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The ID of instance which this call targets.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceCompute.WaitInstanceRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The ID of instance which this call targets.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The ID of instance which this call targets.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The ID of instance which this call targets.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getDestroyedOk
public boolean getDestroyedOk()If set to true, we don't fail the request if the instance is destroyed while waiting.
bool destroyed_ok = 2;- Specified by:
getDestroyedOkin interfaceCompute.WaitInstanceRequestOrBuilder- Returns:
- The destroyedOk.
-
setDestroyedOk
If set to true, we don't fail the request if the instance is destroyed while waiting.
bool destroyed_ok = 2;- Parameters:
value- The destroyedOk to set.- Returns:
- This builder for chaining.
-
clearDestroyedOk
If set to true, we don't fail the request if the instance is destroyed while waiting.
bool destroyed_ok = 2;- Returns:
- This builder for chaining.
-
getContainerId
The ID of the container to wait for. This is the Namespace-allocated ID returned when a container is created.
string container_id = 3;- Specified by:
getContainerIdin interfaceCompute.WaitInstanceRequestOrBuilder- Returns:
- The containerId.
-
getContainerIdBytes
public com.google.protobuf.ByteString getContainerIdBytes()The ID of the container to wait for. This is the Namespace-allocated ID returned when a container is created.
string container_id = 3;- Specified by:
getContainerIdBytesin interfaceCompute.WaitInstanceRequestOrBuilder- Returns:
- The bytes for containerId.
-
setContainerId
The ID of the container to wait for. This is the Namespace-allocated ID returned when a container is created.
string container_id = 3;- Parameters:
value- The containerId to set.- Returns:
- This builder for chaining.
-
clearContainerId
The ID of the container to wait for. This is the Namespace-allocated ID returned when a container is created.
string container_id = 3;- Returns:
- This builder for chaining.
-
setContainerIdBytes
public Compute.WaitInstanceRequest.Builder setContainerIdBytes(com.google.protobuf.ByteString value) The ID of the container to wait for. This is the Namespace-allocated ID returned when a container is created.
string container_id = 3;- Parameters:
value- The bytes for containerId to set.- Returns:
- This builder for chaining.
-
getContainerName
The name of the container to wait for. This is the user-specified name provided in ContainerRequest.name during instance creation or StartContainers. If both container_id and container_name are set, container_name takes precedence.
string container_name = 4;- Specified by:
getContainerNamein interfaceCompute.WaitInstanceRequestOrBuilder- Returns:
- The containerName.
-
getContainerNameBytes
public com.google.protobuf.ByteString getContainerNameBytes()The name of the container to wait for. This is the user-specified name provided in ContainerRequest.name during instance creation or StartContainers. If both container_id and container_name are set, container_name takes precedence.
string container_name = 4;- Specified by:
getContainerNameBytesin interfaceCompute.WaitInstanceRequestOrBuilder- Returns:
- The bytes for containerName.
-
setContainerName
The name of the container to wait for. This is the user-specified name provided in ContainerRequest.name during instance creation or StartContainers. If both container_id and container_name are set, container_name takes precedence.
string container_name = 4;- Parameters:
value- The containerName to set.- Returns:
- This builder for chaining.
-
clearContainerName
The name of the container to wait for. This is the user-specified name provided in ContainerRequest.name during instance creation or StartContainers. If both container_id and container_name are set, container_name takes precedence.
string container_name = 4;- Returns:
- This builder for chaining.
-
setContainerNameBytes
public Compute.WaitInstanceRequest.Builder setContainerNameBytes(com.google.protobuf.ByteString value) The name of the container to wait for. This is the user-specified name provided in ContainerRequest.name during instance creation or StartContainers. If both container_id and container_name are set, container_name takes precedence.
string container_name = 4;- Parameters:
value- The bytes for containerName to set.- Returns:
- This builder for chaining.
-