Class ServiceSpec.Builder (1.25.0)

public static final class ServiceSpec.Builder extends GeneratedMessageV3.Builder<ServiceSpec.Builder> implements ServiceSpecOrBuilder

Specification that applies to a Service resource. Valid only for entries with the SERVICE type.

Protobuf type google.cloud.datacatalog.v1.ServiceSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceSpec build()
Returns
TypeDescription
ServiceSpec

buildPartial()

public ServiceSpec buildPartial()
Returns
TypeDescription
ServiceSpec

clear()

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

clearCloudBigtableInstanceSpec()

public ServiceSpec.Builder clearCloudBigtableInstanceSpec()

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Returns
TypeDescription
ServiceSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSystemSpec()

public ServiceSpec.Builder clearSystemSpec()
Returns
TypeDescription
ServiceSpec.Builder

clone()

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

getCloudBigtableInstanceSpec()

public CloudBigtableInstanceSpec getCloudBigtableInstanceSpec()

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Returns
TypeDescription
CloudBigtableInstanceSpec

The cloudBigtableInstanceSpec.

getCloudBigtableInstanceSpecBuilder()

public CloudBigtableInstanceSpec.Builder getCloudBigtableInstanceSpecBuilder()

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Returns
TypeDescription
CloudBigtableInstanceSpec.Builder

getCloudBigtableInstanceSpecOrBuilder()

public CloudBigtableInstanceSpecOrBuilder getCloudBigtableInstanceSpecOrBuilder()

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Returns
TypeDescription
CloudBigtableInstanceSpecOrBuilder

getDefaultInstanceForType()

public ServiceSpec getDefaultInstanceForType()
Returns
TypeDescription
ServiceSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSystemSpecCase()

public ServiceSpec.SystemSpecCase getSystemSpecCase()
Returns
TypeDescription
ServiceSpec.SystemSpecCase

hasCloudBigtableInstanceSpec()

public boolean hasCloudBigtableInstanceSpec()

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Returns
TypeDescription
boolean

Whether the cloudBigtableInstanceSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCloudBigtableInstanceSpec(CloudBigtableInstanceSpec value)

public ServiceSpec.Builder mergeCloudBigtableInstanceSpec(CloudBigtableInstanceSpec value)

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Parameter
NameDescription
valueCloudBigtableInstanceSpec
Returns
TypeDescription
ServiceSpec.Builder

mergeFrom(ServiceSpec other)

public ServiceSpec.Builder mergeFrom(ServiceSpec other)
Parameter
NameDescription
otherServiceSpec
Returns
TypeDescription
ServiceSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloudBigtableInstanceSpec(CloudBigtableInstanceSpec value)

public ServiceSpec.Builder setCloudBigtableInstanceSpec(CloudBigtableInstanceSpec value)

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Parameter
NameDescription
valueCloudBigtableInstanceSpec
Returns
TypeDescription
ServiceSpec.Builder

setCloudBigtableInstanceSpec(CloudBigtableInstanceSpec.Builder builderForValue)

public ServiceSpec.Builder setCloudBigtableInstanceSpec(CloudBigtableInstanceSpec.Builder builderForValue)

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

.google.cloud.datacatalog.v1.CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1;

Parameter
NameDescription
builderForValueCloudBigtableInstanceSpec.Builder
Returns
TypeDescription
ServiceSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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