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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder> implements GetGuestAttributesInstanceRequestOrBuilder
A request message for Instances.GetGuestAttributes. See the method description for details.
Protobuf typegoogle.cloud.compute.v1.GetGuestAttributesInstanceRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetGuestAttributesInstanceRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetGuestAttributesInstanceRequestbuild()GetGuestAttributesInstanceRequestbuildPartial()GetGuestAttributesInstanceRequest.Builderclear()GetGuestAttributesInstanceRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetGuestAttributesInstanceRequest.BuilderclearInstance()Name of the instance scoping this request.GetGuestAttributesInstanceRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetGuestAttributesInstanceRequest.BuilderclearProject()Project ID for this request.GetGuestAttributesInstanceRequest.BuilderclearQueryPath()Specifies the guest attributes path to be queried.GetGuestAttributesInstanceRequest.BuilderclearVariableKey()Specifies the key for the guest attributes entry.GetGuestAttributesInstanceRequest.BuilderclearZone()The name of the zone for this request.GetGuestAttributesInstanceRequest.Builderclone()GetGuestAttributesInstanceRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstance()Name of the instance scoping this request.com.google.protobuf.ByteStringgetInstanceBytes()Name of the instance scoping this request.StringgetProject()Project ID for this request.com.google.protobuf.ByteStringgetProjectBytes()Project ID for this request.StringgetQueryPath()Specifies the guest attributes path to be queried.com.google.protobuf.ByteStringgetQueryPathBytes()Specifies the guest attributes path to be queried.StringgetVariableKey()Specifies the key for the guest attributes entry.com.google.protobuf.ByteStringgetVariableKeyBytes()Specifies the key for the guest attributes entry.StringgetZone()The name of the zone for this request.com.google.protobuf.ByteStringgetZoneBytes()The name of the zone for this request.booleanhasQueryPath()Specifies the guest attributes path to be queried.booleanhasVariableKey()Specifies the key for the guest attributes entry.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetGuestAttributesInstanceRequest.BuildermergeFrom(GetGuestAttributesInstanceRequest other)GetGuestAttributesInstanceRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetGuestAttributesInstanceRequest.BuildermergeFrom(com.google.protobuf.Message other)GetGuestAttributesInstanceRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetGuestAttributesInstanceRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetGuestAttributesInstanceRequest.BuildersetInstance(String value)Name of the instance scoping this request.GetGuestAttributesInstanceRequest.BuildersetInstanceBytes(com.google.protobuf.ByteString value)Name of the instance scoping this request.GetGuestAttributesInstanceRequest.BuildersetProject(String value)Project ID for this request.GetGuestAttributesInstanceRequest.BuildersetProjectBytes(com.google.protobuf.ByteString value)Project ID for this request.GetGuestAttributesInstanceRequest.BuildersetQueryPath(String value)Specifies the guest attributes path to be queried.GetGuestAttributesInstanceRequest.BuildersetQueryPathBytes(com.google.protobuf.ByteString value)Specifies the guest attributes path to be queried.GetGuestAttributesInstanceRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GetGuestAttributesInstanceRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetGuestAttributesInstanceRequest.BuildersetVariableKey(String value)Specifies the key for the guest attributes entry.GetGuestAttributesInstanceRequest.BuildersetVariableKeyBytes(com.google.protobuf.ByteString value)Specifies the key for the guest attributes entry.GetGuestAttributesInstanceRequest.BuildersetZone(String value)The name of the zone for this request.GetGuestAttributesInstanceRequest.BuildersetZoneBytes(com.google.protobuf.ByteString value)The name of the zone for this request.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
clear
public GetGuestAttributesInstanceRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
getDefaultInstanceForType
public GetGuestAttributesInstanceRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetGuestAttributesInstanceRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetGuestAttributesInstanceRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetGuestAttributesInstanceRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
setField
public GetGuestAttributesInstanceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
clearField
public GetGuestAttributesInstanceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
clearOneof
public GetGuestAttributesInstanceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
setRepeatedField
public GetGuestAttributesInstanceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
addRepeatedField
public GetGuestAttributesInstanceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
mergeFrom
public GetGuestAttributesInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetGuestAttributesInstanceRequest.Builder>
-
mergeFrom
public GetGuestAttributesInstanceRequest.Builder mergeFrom(GetGuestAttributesInstanceRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public GetGuestAttributesInstanceRequest.Builder setInstance(String value)
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
public GetGuestAttributesInstanceRequest.Builder 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
public String 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
public GetGuestAttributesInstanceRequest.Builder setProject(String value)
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
public GetGuestAttributesInstanceRequest.Builder 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
public String 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
public GetGuestAttributesInstanceRequest.Builder setQueryPath(String value)
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
public GetGuestAttributesInstanceRequest.Builder 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
public String 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
public GetGuestAttributesInstanceRequest.Builder setVariableKey(String value)
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
public GetGuestAttributesInstanceRequest.Builder 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
public String 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
public GetGuestAttributesInstanceRequest.Builder setZone(String value)
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
public GetGuestAttributesInstanceRequest.Builder clearZone()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setZoneBytes
public GetGuestAttributesInstanceRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final GetGuestAttributesInstanceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
mergeUnknownFields
public final GetGuestAttributesInstanceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
-