Class GetGuestAttributesInstanceRequest.Builder (1.64.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetGuestAttributesInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

build()

public GetGuestAttributesInstanceRequest build()
Returns
Type Description
GetGuestAttributesInstanceRequest

buildPartial()

public GetGuestAttributesInstanceRequest buildPartial()
Returns
Type Description
GetGuestAttributesInstanceRequest

clear()

public GetGuestAttributesInstanceRequest.Builder clear()
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetGuestAttributesInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

clearInstance()

public GetGuestAttributesInstanceRequest.Builder clearInstance()

Name of the instance scoping this request.

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

Returns
Type Description
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetGuestAttributesInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

clearProject()

public GetGuestAttributesInstanceRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.

clone()

public GetGuestAttributesInstanceRequest.Builder clone()
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

getDefaultInstanceForType()

public GetGuestAttributesInstanceRequest getDefaultInstanceForType()
Returns
Type Description
GetGuestAttributesInstanceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstance()

public String getInstance()

Name of the instance scoping this request.

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

Returns
Type Description
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Name of the instance scoping this request.

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

Returns
Type Description
ByteString

The bytes for instance.

getProject()

public String getProject()

Project ID for this request.

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

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
Type Description
ByteString

The bytes for project.

getQueryPath()

public String getQueryPath()

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Returns
Type Description
String

The queryPath.

getQueryPathBytes()

public ByteString getQueryPathBytes()

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Returns
Type Description
ByteString

The bytes for queryPath.

getVariableKey()

public String getVariableKey()

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Returns
Type Description
String

The variableKey.

getVariableKeyBytes()

public ByteString getVariableKeyBytes()

Specifies the key for the guest attributes entry.

optional string variable_key = 164364828;

Returns
Type Description
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
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The name of the zone for this request.

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

Returns
Type Description
ByteString

The bytes for zone.

hasQueryPath()

public boolean hasQueryPath()

Specifies the guest attributes path to be queried.

optional string query_path = 368591164;

Returns
Type Description
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
Type Description
boolean

Whether the variableKey field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetGuestAttributesInstanceRequest other)

public GetGuestAttributesInstanceRequest.Builder mergeFrom(GetGuestAttributesInstanceRequest other)
Parameter
Name Description
other GetGuestAttributesInstanceRequest
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetGuestAttributesInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetGuestAttributesInstanceRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetGuestAttributesInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetGuestAttributesInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The instance to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for instance to set.

Returns
Type Description
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
Name Description
value String

The project to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
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
Name Description
value String

The queryPath to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for queryPath to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetGuestAttributesInstanceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetGuestAttributesInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The variableKey to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for variableKey to set.

Returns
Type Description
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
Name Description
value String

The zone to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
GetGuestAttributesInstanceRequest.Builder

This builder for chaining.