Class GuestAttributes.Builder (2.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestAttributes build()
Returns
TypeDescription
GuestAttributes

buildPartial()

public GuestAttributes buildPartial()
Returns
TypeDescription
GuestAttributes

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestAttributes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GuestAttributes.Builder

clone()

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

getDefaultInstanceForType()

public GuestAttributes getDefaultInstanceForType()
Returns
TypeDescription
GuestAttributes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GuestAttributesValue

The queryValue.

getQueryValueBuilder()

public GuestAttributesValue.Builder getQueryValueBuilder()

The value of the requested queried path.

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

Returns
TypeDescription
GuestAttributesValue.Builder

getQueryValueOrBuilder()

public GuestAttributesValueOrBuilder getQueryValueOrBuilder()

The value of the requested queried path.

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

Returns
TypeDescription
GuestAttributesValueOrBuilder

hasQueryValue()

public boolean hasQueryValue()

The value of the requested queried path.

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

Returns
TypeDescription
boolean

Whether the queryValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GuestAttributes other)

public GuestAttributes.Builder mergeFrom(GuestAttributes other)
Parameter
NameDescription
otherGuestAttributes
Returns
TypeDescription
GuestAttributes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GuestAttributes.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGuestAttributesValue
Returns
TypeDescription
GuestAttributes.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GuestAttributes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The queryPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for queryPath to set.

Returns
TypeDescription
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
NameDescription
valueGuestAttributesValue
Returns
TypeDescription
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
NameDescription
builderForValueGuestAttributesValue.Builder
Returns
TypeDescription
GuestAttributes.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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