Class CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder (1.36.0)

public static final class CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder extends GeneratedMessageV3.Builder<CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder> implements CloudBigtableInstanceSpec.CloudBigtableClusterSpecOrBuilder

Spec that applies to clusters of an Instance of Cloud Bigtable.

Protobuf type google.cloud.datacatalog.v1.CloudBigtableInstanceSpec.CloudBigtableClusterSpec

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec build()
Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec

buildPartial()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec buildPartial()
Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec

clear()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder clear()
Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder
Overrides

clearDisplayName()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder clearDisplayName()

Name of the cluster.

string display_name = 1;

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLinkedResource()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder clearLinkedResource()

A link back to the parent resource, in this case Instance.

string linked_resource = 4;

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

clearLocation()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder clearLocation()

Location of the cluster, typically a Cloud zone.

string location = 2;

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder clearType()

Type of the resource. For a cluster this would be "CLUSTER".

string type = 3;

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

clone()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder clone()
Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder
Overrides

getDefaultInstanceForType()

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec getDefaultInstanceForType()
Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Name of the cluster.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of the cluster.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLinkedResource()

public String getLinkedResource()

A link back to the parent resource, in this case Instance.

string linked_resource = 4;

Returns
TypeDescription
String

The linkedResource.

getLinkedResourceBytes()

public ByteString getLinkedResourceBytes()

A link back to the parent resource, in this case Instance.

string linked_resource = 4;

Returns
TypeDescription
ByteString

The bytes for linkedResource.

getLocation()

public String getLocation()

Location of the cluster, typically a Cloud zone.

string location = 2;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location of the cluster, typically a Cloud zone.

string location = 2;

Returns
TypeDescription
ByteString

The bytes for location.

getType()

public String getType()

Type of the resource. For a cluster this would be "CLUSTER".

string type = 3;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Type of the resource. For a cluster this would be "CLUSTER".

string type = 3;

Returns
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudBigtableInstanceSpec.CloudBigtableClusterSpec other)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder mergeFrom(CloudBigtableInstanceSpec.CloudBigtableClusterSpec other)
Parameter
NameDescription
otherCloudBigtableInstanceSpec.CloudBigtableClusterSpec
Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setDisplayName(String value)

Name of the cluster.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setDisplayNameBytes(ByteString value)

Name of the cluster.

string display_name = 1;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLinkedResource(String value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setLinkedResource(String value)

A link back to the parent resource, in this case Instance.

string linked_resource = 4;

Parameter
NameDescription
valueString

The linkedResource to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

setLinkedResourceBytes(ByteString value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setLinkedResourceBytes(ByteString value)

A link back to the parent resource, in this case Instance.

string linked_resource = 4;

Parameter
NameDescription
valueByteString

The bytes for linkedResource to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

setLocation(String value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setLocation(String value)

Location of the cluster, typically a Cloud zone.

string location = 2;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setLocationBytes(ByteString value)

Location of the cluster, typically a Cloud zone.

string location = 2;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

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

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

setType(String value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setType(String value)

Type of the resource. For a cluster this would be "CLUSTER".

string type = 3;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder setTypeBytes(ByteString value)

Type of the resource. For a cluster this would be "CLUSTER".

string type = 3;

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
CloudBigtableInstanceSpec.CloudBigtableClusterSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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