Class PingAndWarmRequest.Builder (2.10.2)

public static final class PingAndWarmRequest.Builder extends GeneratedMessageV3.Builder<PingAndWarmRequest.Builder> implements PingAndWarmRequestOrBuilder

Request message for client connection keep-alive and warming.

Protobuf type google.bigtable.v2.PingAndWarmRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PingAndWarmRequest build()
Returns
TypeDescription
PingAndWarmRequest

buildPartial()

public PingAndWarmRequest buildPartial()
Returns
TypeDescription
PingAndWarmRequest

clear()

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

clearAppProfileId()

public PingAndWarmRequest.Builder clearAppProfileId()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Returns
TypeDescription
PingAndWarmRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public PingAndWarmRequest.Builder clearName()

Required. The unique name of the instance to check permissions for as well as respond. Values are of the form projects/<project>/instances/<instance>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
PingAndWarmRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAppProfileId()

public String getAppProfileId()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Returns
TypeDescription
String

The appProfileId.

getAppProfileIdBytes()

public ByteString getAppProfileIdBytes()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Returns
TypeDescription
ByteString

The bytes for appProfileId.

getDefaultInstanceForType()

public PingAndWarmRequest getDefaultInstanceForType()
Returns
TypeDescription
PingAndWarmRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The unique name of the instance to check permissions for as well as respond. Values are of the form projects/<project>/instances/<instance>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The unique name of the instance to check permissions for as well as respond. Values are of the form projects/<project>/instances/<instance>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PingAndWarmRequest other)

public PingAndWarmRequest.Builder mergeFrom(PingAndWarmRequest other)
Parameter
NameDescription
otherPingAndWarmRequest
Returns
TypeDescription
PingAndWarmRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppProfileId(String value)

public PingAndWarmRequest.Builder setAppProfileId(String value)

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Parameter
NameDescription
valueString

The appProfileId to set.

Returns
TypeDescription
PingAndWarmRequest.Builder

This builder for chaining.

setAppProfileIdBytes(ByteString value)

public PingAndWarmRequest.Builder setAppProfileIdBytes(ByteString value)

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Parameter
NameDescription
valueByteString

The bytes for appProfileId to set.

Returns
TypeDescription
PingAndWarmRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PingAndWarmRequest.Builder setName(String value)

Required. The unique name of the instance to check permissions for as well as respond. Values are of the form projects/<project>/instances/<instance>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
PingAndWarmRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PingAndWarmRequest.Builder setNameBytes(ByteString value)

Required. The unique name of the instance to check permissions for as well as respond. Values are of the form projects/<project>/instances/<instance>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
PingAndWarmRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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