Class ServiceSpec.Builder (1.50.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceSpec build()
Returns
Type Description
ServiceSpec

buildPartial()

public ServiceSpec buildPartial()
Returns
Type Description
ServiceSpec

clear()

public ServiceSpec.Builder clear()
Returns
Type Description
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
Type Description
ServiceSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSystemSpec()

public ServiceSpec.Builder clearSystemSpec()
Returns
Type Description
ServiceSpec.Builder

clone()

public ServiceSpec.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
CloudBigtableInstanceSpecOrBuilder

getDefaultInstanceForType()

public ServiceSpec getDefaultInstanceForType()
Returns
Type Description
ServiceSpec

getDescriptorForType()

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

getSystemSpecCase()

public ServiceSpec.SystemSpecCase getSystemSpecCase()
Returns
Type Description
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
Type Description
boolean

Whether the cloudBigtableInstanceSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value CloudBigtableInstanceSpec
Returns
Type Description
ServiceSpec.Builder

mergeFrom(ServiceSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value CloudBigtableInstanceSpec
Returns
Type Description
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
Name Description
builderForValue CloudBigtableInstanceSpec.Builder
Returns
Type Description
ServiceSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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