Class PrivateServiceConnectConnectivity (2.40.0)

public final class PrivateServiceConnectConnectivity extends GeneratedMessageV3 implements PrivateServiceConnectConnectivityOrBuilder

Private Service Connect connectivity

Protobuf type google.cloud.clouddms.v1.PrivateServiceConnectConnectivity

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PrivateServiceConnectConnectivity

Static Fields

SERVICE_ATTACHMENT_FIELD_NUMBER

public static final int SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivateServiceConnectConnectivity getDefaultInstance()
Returns
TypeDescription
PrivateServiceConnectConnectivity

getDescriptor()

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

newBuilder()

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

newBuilder(PrivateServiceConnectConnectivity prototype)

public static PrivateServiceConnectConnectivity.Builder newBuilder(PrivateServiceConnectConnectivity prototype)
Parameter
NameDescription
prototypePrivateServiceConnectConnectivity
Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PrivateServiceConnectConnectivity getDefaultInstanceForType()
Returns
TypeDescription
PrivateServiceConnectConnectivity

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceAttachment()

public String getServiceAttachment()

Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

string service_attachment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The serviceAttachment.

getServiceAttachmentBytes()

public ByteString getServiceAttachmentBytes()

Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

string service_attachment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for serviceAttachment.

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 PrivateServiceConnectConnectivity.Builder newBuilderForType()
Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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