Class ServiceSpec (1.59.0)

public final class ServiceSpec extends GeneratedMessageV3 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 Fields

CLOUD_BIGTABLE_INSTANCE_SPEC_FIELD_NUMBER

public static final int CLOUD_BIGTABLE_INSTANCE_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ServiceSpec getDefaultInstance()
Returns
Type Description
ServiceSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ServiceSpec.Builder newBuilder()
Returns
Type Description
ServiceSpec.Builder

newBuilder(ServiceSpec prototype)

public static ServiceSpec.Builder newBuilder(ServiceSpec prototype)
Parameter
Name Description
prototype ServiceSpec
Returns
Type Description
ServiceSpec.Builder

parseDelimitedFrom(InputStream input)

public static ServiceSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServiceSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ServiceSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ServiceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ServiceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ServiceSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ServiceSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServiceSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ServiceSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ServiceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ServiceSpec> parser()
Returns
Type Description
Parser<ServiceSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getParserForType()

public Parser<ServiceSpec> getParserForType()
Returns
Type Description
Parser<ServiceSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ServiceSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException