- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class Route.Builder extends GeneratedMessageV3.Builder<Route.Builder> implements RouteOrBuilder
The Route resource is the child of the PrivateConnection resource. It used to define a route for a PrivateConnection setup.
Protobuf type google.cloud.datastream.v1alpha1.Route
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Route.BuilderImplements
RouteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Route.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Route.Builder |
build()
public Route build()
Returns | |
---|---|
Type | Description |
Route |
buildPartial()
public Route buildPartial()
Returns | |
---|---|
Type | Description |
Route |
clear()
public Route.Builder clear()
Returns | |
---|---|
Type | Description |
Route.Builder |
clearCreateTime()
public Route.Builder clearCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Route.Builder |
clearDestinationAddress()
public Route.Builder clearDestinationAddress()
Required. Destination address for connection
string destination_address = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
clearDestinationPort()
public Route.Builder clearDestinationPort()
Destination port for connection
int32 destination_port = 7;
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
clearDisplayName()
public Route.Builder clearDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Route.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Route.Builder |
clearLabels()
public Route.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Route.Builder |
clearName()
public Route.Builder clearName()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Route.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Route.Builder |
clearUpdateTime()
public Route.Builder clearUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Route.Builder |
clone()
public Route.Builder clone()
Returns | |
---|---|
Type | Description |
Route.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Route getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Route |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationAddress()
public String getDestinationAddress()
Required. Destination address for connection
string destination_address = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The destinationAddress. |
getDestinationAddressBytes()
public ByteString getDestinationAddressBytes()
Required. Destination address for connection
string destination_address = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for destinationAddress. |
getDestinationPort()
public int getDestinationPort()
Destination port for connection
int32 destination_port = 7;
Returns | |
---|---|
Type | Description |
int | The destinationPort. |
getDisplayName()
public String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Route.Builder mergeCreateTime(Timestamp value)
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Route.Builder |
mergeFrom(Route other)
public Route.Builder mergeFrom(Route other)
Parameter | |
---|---|
Name | Description |
other | Route |
Returns | |
---|---|
Type | Description |
Route.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Route.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Route.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Route.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Route.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Route.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Route.Builder |
mergeUpdateTime(Timestamp value)
public Route.Builder mergeUpdateTime(Timestamp value)
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Route.Builder |
putAllLabels(Map<String,String> values)
public Route.Builder putAllLabels(Map<String,String> values)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Route.Builder |
putLabels(String key, String value)
public Route.Builder putLabels(String key, String value)
Labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Route.Builder |
removeLabels(String key)
public Route.Builder removeLabels(String key)
Labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Route.Builder |
setCreateTime(Timestamp value)
public Route.Builder setCreateTime(Timestamp value)
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Route.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Route.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Route.Builder |
setDestinationAddress(String value)
public Route.Builder setDestinationAddress(String value)
Required. Destination address for connection
string destination_address = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The destinationAddress to set. |
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
setDestinationAddressBytes(ByteString value)
public Route.Builder setDestinationAddressBytes(ByteString value)
Required. Destination address for connection
string destination_address = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for destinationAddress to set. |
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
setDestinationPort(int value)
public Route.Builder setDestinationPort(int value)
Destination port for connection
int32 destination_port = 7;
Parameter | |
---|---|
Name | Description |
value | int The destinationPort to set. |
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
setDisplayName(String value)
public Route.Builder setDisplayName(String value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Route.Builder setDisplayNameBytes(ByteString value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Route.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Route.Builder |
setName(String value)
public Route.Builder setName(String value)
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Route.Builder setNameBytes(ByteString value)
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Route.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Route.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Route.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Route.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Route.Builder |
setUpdateTime(Timestamp value)
public Route.Builder setUpdateTime(Timestamp value)
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Route.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Route.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Route.Builder |