Class GetGuestAttributesInstanceRequest.Builder (1.15.0)

public static final class GetGuestAttributesInstanceRequest.Builder extends GeneratedMessageV3.Builder<GetGuestAttributesInstanceRequest.Builder> implements GetGuestAttributesInstanceRequestOrBuilder

A request message for Instances.GetGuestAttributes. See the method description for details.

Protobuf type google.cloud.compute.v1.GetGuestAttributesInstanceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetGuestAttributesInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

build()

public GetGuestAttributesInstanceRequest build()
Returns
TypeDescription
GetGuestAttributesInstanceRequest

buildPartial()

public GetGuestAttributesInstanceRequest buildPartial()
Returns
TypeDescription
GetGuestAttributesInstanceRequest

clear()

public GetGuestAttributesInstanceRequest.Builder clear()
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetGuestAttributesInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

clearInstance()

public GetGuestAttributesInstanceRequest.Builder clearInstance()

Name of the instance scoping this request.

string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetGuestAttributesInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

clearProject()

public GetGuestAttributesInstanceRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

clearQueryPath()

public GetGuestAttributesInstanceRequest.Builder clearQueryPath()

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

clearVariableKey()

public GetGuestAttributesInstanceRequest.Builder clearVariableKey()

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

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
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

clone()

public GetGuestAttributesInstanceRequest.Builder clone()
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

getDefaultInstanceForType()

public GetGuestAttributesInstanceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetGuestAttributesInstanceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public String getInstance()

Name of the instance scoping this request.

string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Name of the instance scoping this request.

string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for instance.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for project.

getQueryPath()

public String getQueryPath()

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Returns
TypeDescription
String

The queryPath.

getQueryPathBytes()

public ByteString getQueryPathBytes()

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Returns
TypeDescription
ByteString

The bytes for queryPath.

getVariableKey()

public String getVariableKey()

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Returns
TypeDescription
String

The variableKey.

getVariableKeyBytes()

public ByteString getVariableKeyBytes()

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Returns
TypeDescription
ByteString

The bytes for variableKey.

getZone()

public String getZone()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for zone.

hasQueryPath()

public boolean hasQueryPath()

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Returns
TypeDescription
boolean

Whether the queryPath field is set.

hasVariableKey()

public boolean hasVariableKey()

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Returns
TypeDescription
boolean

Whether the variableKey field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetGuestAttributesInstanceRequest other)

public GetGuestAttributesInstanceRequest.Builder mergeFrom(GetGuestAttributesInstanceRequest other)
Parameter
NameDescription
otherGetGuestAttributesInstanceRequest
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetGuestAttributesInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetGuestAttributesInstanceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetGuestAttributesInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetGuestAttributesInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

setInstance(String value)

public GetGuestAttributesInstanceRequest.Builder setInstance(String value)

Name of the instance scoping this request.

string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The instance to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public GetGuestAttributesInstanceRequest.Builder setInstanceBytes(ByteString value)

Name of the instance scoping this request.

string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for instance to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setProject(String value)

public GetGuestAttributesInstanceRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetGuestAttributesInstanceRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setQueryPath(String value)

public GetGuestAttributesInstanceRequest.Builder setQueryPath(String value)

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Parameter
NameDescription
valueString

The queryPath to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setQueryPathBytes(ByteString value)

public GetGuestAttributesInstanceRequest.Builder setQueryPathBytes(ByteString value)

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Parameter
NameDescription
valueByteString

The bytes for queryPath to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetGuestAttributesInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetGuestAttributesInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder
Overrides

setVariableKey(String value)

public GetGuestAttributesInstanceRequest.Builder setVariableKey(String value)

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Parameter
NameDescription
valueString

The variableKey to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setVariableKeyBytes(ByteString value)

public GetGuestAttributesInstanceRequest.Builder setVariableKeyBytes(ByteString value)

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Parameter
NameDescription
valueByteString

The bytes for variableKey to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setZone(String value)

public GetGuestAttributesInstanceRequest.Builder setZone(String value)

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public GetGuestAttributesInstanceRequest.Builder setZoneBytes(ByteString value)

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.