public final class PrivateConnection extends com.google.protobuf.GeneratedMessageV3 implements PrivateConnectionOrBuilder
The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.Protobuf type
google.cloud.datastream.v1.PrivateConnection| Modifier and Type | Class and Description |
|---|---|
static class |
PrivateConnection.Builder
The PrivateConnection resource is used to establish private connectivity
between Datastream and a customer's network.
|
static class |
PrivateConnection.State
Private Connection state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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)
Labels.
|
boolean |
equals(Object obj) |
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()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
Error |
getError()
Output only.
|
ErrorOrBuilder |
getErrorOrBuilder()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels.
|
Map<String,String> |
getLabelsMap()
Labels.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels.
|
String |
getLabelsOrThrow(String key)
Labels.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<PrivateConnection> |
getParserForType() |
int |
getSerializedSize() |
PrivateConnection.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VpcPeeringConfig |
getVpcPeeringConfig()
VPC Peering Config.
|
VpcPeeringConfigOrBuilder |
getVpcPeeringConfigOrBuilder()
VPC Peering Config.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasError()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVpcPeeringConfig()
VPC Peering Config.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(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, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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 final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface PrivateConnectionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];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 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 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 update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface PrivateConnectionOrBuilderpublic int getLabelsCount()
PrivateConnectionOrBuilderLabels.
map<string, string> labels = 4;getLabelsCount in interface PrivateConnectionOrBuilderpublic boolean containsLabels(String key)
Labels.
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()
Labels.
map<string, string> labels = 4;getLabelsMap in interface PrivateConnectionOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;getLabelsOrDefault in interface PrivateConnectionOrBuilderpublic String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;getLabelsOrThrow in interface PrivateConnectionOrBuilderpublic String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface PrivateConnectionOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface PrivateConnectionOrBuilderpublic int getStateValue()
Output only. The state of the Private Connection.
.google.cloud.datastream.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.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface PrivateConnectionOrBuilderpublic boolean hasError()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasError in interface PrivateConnectionOrBuilderpublic Error getError()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getError in interface PrivateConnectionOrBuilderpublic ErrorOrBuilder getErrorOrBuilder()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorOrBuilder in interface PrivateConnectionOrBuilderpublic boolean hasVpcPeeringConfig()
VPC Peering Config.
.google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100;hasVpcPeeringConfig in interface PrivateConnectionOrBuilderpublic VpcPeeringConfig getVpcPeeringConfig()
VPC Peering Config.
.google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100;getVpcPeeringConfig in interface PrivateConnectionOrBuilderpublic VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder()
VPC Peering Config.
.google.cloud.datastream.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 © 2022 Google LLC. All rights reserved.