Class ServiceSpec (1.30.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceSpec getDefaultInstance()
Returns
TypeDescription
ServiceSpec

getDescriptor()

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

newBuilder()

public static ServiceSpec.Builder newBuilder()
Returns
TypeDescription
ServiceSpec.Builder

newBuilder(ServiceSpec prototype)

public static ServiceSpec.Builder newBuilder(ServiceSpec prototype)
Parameter
NameDescription
prototypeServiceSpec
Returns
TypeDescription
ServiceSpec.Builder

parseDelimitedFrom(InputStream input)

public static ServiceSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServiceSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServiceSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServiceSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServiceSpec> parser()
Returns
TypeDescription
Parser<ServiceSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CloudBigtableInstanceSpecOrBuilder

getDefaultInstanceForType()

public ServiceSpec getDefaultInstanceForType()
Returns
TypeDescription
ServiceSpec

getParserForType()

public Parser<ServiceSpec> getParserForType()
Returns
TypeDescription
Parser<ServiceSpec>
Overrides

getSerializedSize()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServiceSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException