Package com.google.cloud.compute.v1
Class GetGuestAttributesInstanceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.Builder>
com.google.cloud.compute.v1.GetGuestAttributesInstanceRequest.Builder
- All Implemented Interfaces:
GetGuestAttributesInstanceRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetGuestAttributesInstanceRequest
public static final class GetGuestAttributesInstanceRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.Builder>
implements GetGuestAttributesInstanceRequestOrBuilder
A request message for Instances.GetGuestAttributes. See the method description for details.Protobuf type
google.cloud.compute.v1.GetGuestAttributesInstanceRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Name of the instance scoping this request.Project ID for this request.Specifies the guest attributes path to be queried.Specifies the key for the guest attributes entry.The name of the zone for this request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName of the instance scoping this request.com.google.protobuf.ByteStringName of the instance scoping this request.Project ID for this request.com.google.protobuf.ByteStringProject ID for this request.Specifies the guest attributes path to be queried.com.google.protobuf.ByteStringSpecifies the guest attributes path to be queried.Specifies the key for the guest attributes entry.com.google.protobuf.ByteStringSpecifies the key for the guest attributes entry.getZone()The name of the zone for this request.com.google.protobuf.ByteStringThe name of the zone for this request.booleanSpecifies the guest attributes path to be queried.booleanSpecifies the key for the guest attributes entry.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setInstance(String value) Name of the instance scoping this request.setInstanceBytes(com.google.protobuf.ByteString value) Name of the instance scoping this request.setProject(String value) Project ID for this request.setProjectBytes(com.google.protobuf.ByteString value) Project ID for this request.setQueryPath(String value) Specifies the guest attributes path to be queried.setQueryPathBytes(com.google.protobuf.ByteString value) Specifies the guest attributes path to be queried.setVariableKey(String value) Specifies the key for the guest attributes entry.setVariableKeyBytes(com.google.protobuf.ByteString value) Specifies the key for the guest attributes entry.The name of the zone for this request.setZoneBytes(com.google.protobuf.ByteString value) The name of the zone for this request.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<GetGuestAttributesInstanceRequest.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<GetGuestAttributesInstanceRequest.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<GetGuestAttributesInstanceRequest.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<GetGuestAttributesInstanceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.Builder>
-
mergeFrom
public GetGuestAttributesInstanceRequest.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<GetGuestAttributesInstanceRequest.Builder>- Throws:
IOException
-
getInstance
Name of the instance scoping this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstancein interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Name of the instance scoping this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceBytesin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
Name of the instance scoping this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Name of the instance scoping this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setInstanceBytes
public GetGuestAttributesInstanceRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value) Name of the instance scoping this request.
string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
getProject
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectBytesin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The bytes for project.
-
setProject
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setProjectBytes
public GetGuestAttributesInstanceRequest.Builder setProjectBytes(com.google.protobuf.ByteString value) Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
hasQueryPath
public boolean hasQueryPath()Specifies the guest attributes path to be queried.
optional string query_path = 368591164;- Specified by:
hasQueryPathin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- Whether the queryPath field is set.
-
getQueryPath
Specifies the guest attributes path to be queried.
optional string query_path = 368591164;- Specified by:
getQueryPathin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The queryPath.
-
getQueryPathBytes
public com.google.protobuf.ByteString getQueryPathBytes()Specifies the guest attributes path to be queried.
optional string query_path = 368591164;- Specified by:
getQueryPathBytesin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The bytes for queryPath.
-
setQueryPath
Specifies the guest attributes path to be queried.
optional string query_path = 368591164;- Parameters:
value- The queryPath to set.- Returns:
- This builder for chaining.
-
clearQueryPath
Specifies the guest attributes path to be queried.
optional string query_path = 368591164;- Returns:
- This builder for chaining.
-
setQueryPathBytes
public GetGuestAttributesInstanceRequest.Builder setQueryPathBytes(com.google.protobuf.ByteString value) Specifies the guest attributes path to be queried.
optional string query_path = 368591164;- Parameters:
value- The bytes for queryPath to set.- Returns:
- This builder for chaining.
-
hasVariableKey
public boolean hasVariableKey()Specifies the key for the guest attributes entry.
optional string variable_key = 164364828;- Specified by:
hasVariableKeyin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- Whether the variableKey field is set.
-
getVariableKey
Specifies the key for the guest attributes entry.
optional string variable_key = 164364828;- Specified by:
getVariableKeyin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The variableKey.
-
getVariableKeyBytes
public com.google.protobuf.ByteString getVariableKeyBytes()Specifies the key for the guest attributes entry.
optional string variable_key = 164364828;- Specified by:
getVariableKeyBytesin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The bytes for variableKey.
-
setVariableKey
Specifies the key for the guest attributes entry.
optional string variable_key = 164364828;- Parameters:
value- The variableKey to set.- Returns:
- This builder for chaining.
-
clearVariableKey
Specifies the key for the guest attributes entry.
optional string variable_key = 164364828;- Returns:
- This builder for chaining.
-
setVariableKeyBytes
public GetGuestAttributesInstanceRequest.Builder setVariableKeyBytes(com.google.protobuf.ByteString value) Specifies the key for the guest attributes entry.
optional string variable_key = 164364828;- Parameters:
value- The bytes for variableKey to set.- Returns:
- This builder for chaining.
-
getZone
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getZonein interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getZoneBytesin interfaceGetGuestAttributesInstanceRequestOrBuilder- Returns:
- The bytes for zone.
-
setZone
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setZoneBytes
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-