public final class PrivateConnection extends com.google.protobuf.GeneratedMessageV3 implements PrivateConnectionOrBuilder
The PrivateConnection resource is used to establish private connectivity with the customer's network.Protobuf type
google.cloud.clouddms.v1.PrivateConnection| Modifier and Type | Class and Description |
|---|---|
static class |
PrivateConnection.Builder
The PrivateConnection resource is used to establish private connectivity
with the customer's network.
|
static class |
PrivateConnection.ConnectivityCase |
static class |
PrivateConnection.State
Private Connection state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VPC_PEERING_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs.
|
boolean |
equals(Object obj) |
PrivateConnection.ConnectivityCase |
getConnectivityCase() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static PrivateConnection |
getDefaultInstance() |
PrivateConnection |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
The private connection display name.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The private connection display name.
|
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs.
|
Map<String,String> |
getLabelsMap()
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getLabelsOrThrow(String key)
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getName()
The name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource.
|
com.google.protobuf.Parser<PrivateConnection> |
getParserForType() |
int |
getSerializedSize() |
PrivateConnection.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VpcPeeringConfig |
getVpcPeeringConfig()
VPC peering configuration.
|
VpcPeeringConfigOrBuilder |
getVpcPeeringConfigOrBuilder()
VPC peering configuration.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasError()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVpcPeeringConfig()
VPC peering configuration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static PrivateConnection.Builder |
newBuilder() |
static PrivateConnection.Builder |
newBuilder(PrivateConnection prototype) |
PrivateConnection.Builder |
newBuilderForType() |
protected PrivateConnection.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PrivateConnection |
parseDelimitedFrom(InputStream input) |
static PrivateConnection |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrivateConnection |
parseFrom(byte[] data) |
static PrivateConnection |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrivateConnection |
parseFrom(ByteBuffer data) |
static PrivateConnection |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrivateConnection |
parseFrom(com.google.protobuf.ByteString data) |
static PrivateConnection |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrivateConnection |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PrivateConnection |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrivateConnection |
parseFrom(InputStream input) |
static PrivateConnection |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PrivateConnection> |
parser() |
PrivateConnection.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int VPC_PEERING_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public PrivateConnection.ConnectivityCase getConnectivityCase()
getConnectivityCase in interface PrivateConnectionOrBuilderpublic String getName()
The name of the resource.
string name = 1;getName in interface PrivateConnectionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the resource.
string name = 1;getNameBytes in interface PrivateConnectionOrBuilderpublic boolean hasCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface PrivateConnectionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface PrivateConnectionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface PrivateConnectionOrBuilderpublic boolean hasUpdateTime()
Output only. The last update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface PrivateConnectionOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface PrivateConnectionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface PrivateConnectionOrBuilderpublic int getLabelsCount()
PrivateConnectionOrBuilder
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;getLabelsCount in interface PrivateConnectionOrBuilderpublic boolean containsLabels(String key)
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;containsLabels in interface PrivateConnectionOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface PrivateConnectionOrBuilderpublic Map<String,String> getLabelsMap()
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;getLabelsMap in interface PrivateConnectionOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;getLabelsOrDefault in interface PrivateConnectionOrBuilderpublic String getLabelsOrThrow(String key)
The resource labels for private connections to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
map<string, string> labels = 4;getLabelsOrThrow in interface PrivateConnectionOrBuilderpublic String getDisplayName()
The private connection display name.
string display_name = 5;getDisplayName in interface PrivateConnectionOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The private connection display name.
string display_name = 5;getDisplayNameBytes in interface PrivateConnectionOrBuilderpublic int getStateValue()
Output only. The state of the private connection.
.google.cloud.clouddms.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface PrivateConnectionOrBuilderpublic PrivateConnection.State getState()
Output only. The state of the private connection.
.google.cloud.clouddms.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface PrivateConnectionOrBuilderpublic boolean hasError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];hasError in interface PrivateConnectionOrBuilderpublic com.google.rpc.Status getError()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getError in interface PrivateConnectionOrBuilderpublic com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. The error details in case of state FAILED.
.google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getErrorOrBuilder in interface PrivateConnectionOrBuilderpublic boolean hasVpcPeeringConfig()
VPC peering configuration.
.google.cloud.clouddms.v1.VpcPeeringConfig vpc_peering_config = 100;hasVpcPeeringConfig in interface PrivateConnectionOrBuilderpublic VpcPeeringConfig getVpcPeeringConfig()
VPC peering configuration.
.google.cloud.clouddms.v1.VpcPeeringConfig vpc_peering_config = 100;getVpcPeeringConfig in interface PrivateConnectionOrBuilderpublic VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder()
VPC peering configuration.
.google.cloud.clouddms.v1.VpcPeeringConfig vpc_peering_config = 100;getVpcPeeringConfigOrBuilder in interface PrivateConnectionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PrivateConnection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrivateConnection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrivateConnection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrivateConnection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrivateConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrivateConnection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrivateConnection parseFrom(InputStream input) throws IOException
IOExceptionpublic static PrivateConnection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PrivateConnection parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PrivateConnection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PrivateConnection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PrivateConnection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PrivateConnection.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PrivateConnection.Builder newBuilder()
public static PrivateConnection.Builder newBuilder(PrivateConnection prototype)
public PrivateConnection.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PrivateConnection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PrivateConnection getDefaultInstance()
public static com.google.protobuf.Parser<PrivateConnection> parser()
public com.google.protobuf.Parser<PrivateConnection> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PrivateConnection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.