public final class Route extends com.google.protobuf.GeneratedMessageV3 implements RouteOrBuilder
The route resource is the child of the private connection resource, used for defining a route for a private connection.Protobuf type
google.cloud.datastream.v1.Route| Modifier and Type | Class and Description |
|---|---|
static class |
Route.Builder
The route resource is the child of the private connection resource,
used for defining a route for a private connection.
|
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 |
DESTINATION_ADDRESS_FIELD_NUMBER |
static int |
DESTINATION_PORT_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_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 Route |
getDefaultInstance() |
Route |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestinationAddress()
Required.
|
com.google.protobuf.ByteString |
getDestinationAddressBytes()
Required.
|
int |
getDestinationPort()
Destination port for connection
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
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<Route> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Route.Builder |
newBuilder() |
static Route.Builder |
newBuilder(Route prototype) |
Route.Builder |
newBuilderForType() |
protected Route.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Route |
parseDelimitedFrom(InputStream input) |
static Route |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(byte[] data) |
static Route |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(ByteBuffer data) |
static Route |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(com.google.protobuf.ByteString data) |
static Route |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Route |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(InputStream input) |
static Route |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Route> |
parser() |
Route.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 DESTINATION_ADDRESS_FIELD_NUMBER
public static final int DESTINATION_PORT_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 RouteOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface RouteOrBuilderpublic 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 RouteOrBuilderpublic 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 RouteOrBuilderpublic 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 RouteOrBuilderpublic 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 RouteOrBuilderpublic 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 RouteOrBuilderpublic 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 RouteOrBuilderpublic int getLabelsCount()
RouteOrBuilderLabels.
map<string, string> labels = 4;getLabelsCount in interface RouteOrBuilderpublic boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;containsLabels in interface RouteOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface RouteOrBuilderpublic Map<String,String> getLabelsMap()
Labels.
map<string, string> labels = 4;getLabelsMap in interface RouteOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;getLabelsOrDefault in interface RouteOrBuilderpublic String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;getLabelsOrThrow in interface RouteOrBuilderpublic String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface RouteOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface RouteOrBuilderpublic String getDestinationAddress()
Required. Destination address for connection
string destination_address = 6 [(.google.api.field_behavior) = REQUIRED];getDestinationAddress in interface RouteOrBuilderpublic com.google.protobuf.ByteString getDestinationAddressBytes()
Required. Destination address for connection
string destination_address = 6 [(.google.api.field_behavior) = REQUIRED];getDestinationAddressBytes in interface RouteOrBuilderpublic int getDestinationPort()
Destination port for connection
int32 destination_port = 7;getDestinationPort in interface RouteOrBuilderpublic 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 Route parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(InputStream input) throws IOException
IOExceptionpublic static Route parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Route parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Route parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Route parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Route parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Route.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Route.Builder newBuilder()
public static Route.Builder newBuilder(Route prototype)
public Route.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Route.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Route getDefaultInstance()
public static com.google.protobuf.Parser<Route> parser()
public com.google.protobuf.Parser<Route> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Route getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.