Class GuestAttributes.Builder (2.46.0)

public static final class GuestAttributes.Builder extends GeneratedMessageV3.Builder<GuestAttributes.Builder> implements GuestAttributesOrBuilder

A guest attributes.

Protobuf type google.cloud.tpu.v2alpha1.GuestAttributes

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestAttributes build()
Returns
Type Description
GuestAttributes

buildPartial()

public GuestAttributes buildPartial()
Returns
Type Description
GuestAttributes

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQueryPath()

public GuestAttributes.Builder clearQueryPath()

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

string query_path = 1;

Returns
Type Description
GuestAttributes.Builder

This builder for chaining.

clearQueryValue()

public GuestAttributes.Builder clearQueryValue()

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Returns
Type Description
GuestAttributes.Builder

clone()

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

getDefaultInstanceForType()

public GuestAttributes getDefaultInstanceForType()
Returns
Type Description
GuestAttributes

getDescriptorForType()

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

getQueryPath()

public String getQueryPath()

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

string query_path = 1;

Returns
Type Description
String

The queryPath.

getQueryPathBytes()

public ByteString getQueryPathBytes()

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

string query_path = 1;

Returns
Type Description
ByteString

The bytes for queryPath.

getQueryValue()

public GuestAttributesValue getQueryValue()

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Returns
Type Description
GuestAttributesValue

The queryValue.

getQueryValueBuilder()

public GuestAttributesValue.Builder getQueryValueBuilder()

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Returns
Type Description
GuestAttributesValue.Builder

getQueryValueOrBuilder()

public GuestAttributesValueOrBuilder getQueryValueOrBuilder()

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Returns
Type Description
GuestAttributesValueOrBuilder

hasQueryValue()

public boolean hasQueryValue()

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Returns
Type Description
boolean

Whether the queryValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestAttributes other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQueryValue(GuestAttributesValue value)

public GuestAttributes.Builder mergeQueryValue(GuestAttributesValue value)

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Parameter
Name Description
value GuestAttributesValue
Returns
Type Description
GuestAttributes.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setQueryPath(String value)

public GuestAttributes.Builder setQueryPath(String value)

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

string query_path = 1;

Parameter
Name Description
value String

The queryPath to set.

Returns
Type Description
GuestAttributes.Builder

This builder for chaining.

setQueryPathBytes(ByteString value)

public GuestAttributes.Builder setQueryPathBytes(ByteString value)

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

string query_path = 1;

Parameter
Name Description
value ByteString

The bytes for queryPath to set.

Returns
Type Description
GuestAttributes.Builder

This builder for chaining.

setQueryValue(GuestAttributesValue value)

public GuestAttributes.Builder setQueryValue(GuestAttributesValue value)

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Parameter
Name Description
value GuestAttributesValue
Returns
Type Description
GuestAttributes.Builder

setQueryValue(GuestAttributesValue.Builder builderForValue)

public GuestAttributes.Builder setQueryValue(GuestAttributesValue.Builder builderForValue)

The value of the requested queried path.

.google.cloud.tpu.v2alpha1.GuestAttributesValue query_value = 2;

Parameter
Name Description
builderForValue GuestAttributesValue.Builder
Returns
Type Description
GuestAttributes.Builder

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

public GuestAttributes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GuestAttributes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestAttributes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestAttributes.Builder
Overrides