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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetGuestAttributesInstanceRequest
build()
GetGuestAttributesInstanceRequest
buildPartial()
GetGuestAttributesInstanceRequest.Builder
clear()
GetGuestAttributesInstanceRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetGuestAttributesInstanceRequest.Builder
clearInstance()
Name of the instance scoping this request.GetGuestAttributesInstanceRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetGuestAttributesInstanceRequest.Builder
clearProject()
Project ID for this request.GetGuestAttributesInstanceRequest.Builder
clearQueryPath()
Specifies the guest attributes path to be queried.GetGuestAttributesInstanceRequest.Builder
clearVariableKey()
Specifies the key for the guest attributes entry.GetGuestAttributesInstanceRequest.Builder
clearZone()
The name of the zone for this request.GetGuestAttributesInstanceRequest.Builder
clone()
GetGuestAttributesInstanceRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getInstance()
Name of the instance scoping this request.com.google.protobuf.ByteString
getInstanceBytes()
Name of the instance scoping this request.String
getProject()
Project ID for this request.com.google.protobuf.ByteString
getProjectBytes()
Project ID for this request.String
getQueryPath()
Specifies the guest attributes path to be queried.com.google.protobuf.ByteString
getQueryPathBytes()
Specifies the guest attributes path to be queried.String
getVariableKey()
Specifies the key for the guest attributes entry.com.google.protobuf.ByteString
getVariableKeyBytes()
Specifies the key for the guest attributes entry.String
getZone()
The name of the zone for this request.com.google.protobuf.ByteString
getZoneBytes()
The name of the zone for this request.boolean
hasQueryPath()
Specifies the guest attributes path to be queried.boolean
hasVariableKey()
Specifies the key for the guest attributes entry.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetGuestAttributesInstanceRequest.Builder
mergeFrom(GetGuestAttributesInstanceRequest other)
GetGuestAttributesInstanceRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetGuestAttributesInstanceRequest.Builder
mergeFrom(com.google.protobuf.Message other)
GetGuestAttributesInstanceRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetGuestAttributesInstanceRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetGuestAttributesInstanceRequest.Builder
setInstance(String value)
Name of the instance scoping this request.GetGuestAttributesInstanceRequest.Builder
setInstanceBytes(com.google.protobuf.ByteString value)
Name of the instance scoping this request.GetGuestAttributesInstanceRequest.Builder
setProject(String value)
Project ID for this request.GetGuestAttributesInstanceRequest.Builder
setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.GetGuestAttributesInstanceRequest.Builder
setQueryPath(String value)
Specifies the guest attributes path to be queried.GetGuestAttributesInstanceRequest.Builder
setQueryPathBytes(com.google.protobuf.ByteString value)
Specifies the guest attributes path to be queried.GetGuestAttributesInstanceRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GetGuestAttributesInstanceRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetGuestAttributesInstanceRequest.Builder
setVariableKey(String value)
Specifies the key for the guest attributes entry.GetGuestAttributesInstanceRequest.Builder
setVariableKeyBytes(com.google.protobuf.ByteString value)
Specifies the key for the guest attributes entry.GetGuestAttributesInstanceRequest.Builder
setZone(String value)
The name of the zone for this request.GetGuestAttributesInstanceRequest.Builder
setZoneBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
clear
public GetGuestAttributesInstanceRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
getDefaultInstanceForType
public GetGuestAttributesInstanceRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetGuestAttributesInstanceRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetGuestAttributesInstanceRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetGuestAttributesInstanceRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
setField
public GetGuestAttributesInstanceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
clearField
public GetGuestAttributesInstanceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
clearOneof
public GetGuestAttributesInstanceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
setRepeatedField
public GetGuestAttributesInstanceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
addRepeatedField
public GetGuestAttributesInstanceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
mergeFrom
public GetGuestAttributesInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetGuestAttributesInstanceRequest.Builder>
-
mergeFrom
public GetGuestAttributesInstanceRequest.Builder mergeFrom(GetGuestAttributesInstanceRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getInstance
in 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:
getInstanceBytes
in 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:
getProject
in 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:
getProjectBytes
in 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:
hasQueryPath
in 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:
getQueryPath
in 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:
getQueryPathBytes
in 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:
hasVariableKey
in 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:
getVariableKey
in 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:
getVariableKeyBytes
in 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:
getZone
in 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:
getZoneBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
mergeUnknownFields
public final GetGuestAttributesInstanceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder>
-
-