public static final class Transport.Builder extends GeneratedMessage.Builder<Transport.Builder> implements TransportOrBuilderMessage describing Transport object.
Protobuf type google.cloud.networkconnectivity.v1beta.Transport
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Transport.BuilderImplements
TransportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdvertisedRoutes(String value)
public Transport.Builder addAdvertisedRoutes(String value)Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe advertisedRoutes to add. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
addAdvertisedRoutesBytes(ByteString value)
public Transport.Builder addAdvertisedRoutesBytes(ByteString value)Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the advertisedRoutes to add. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
addAllAdvertisedRoutes(Iterable<String> values)
public Transport.Builder addAllAdvertisedRoutes(Iterable<String> values)Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The advertisedRoutes to add. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
build()
public Transport build()| Returns | |
|---|---|
| Type | Description |
Transport |
|
buildPartial()
public Transport buildPartial()| Returns | |
|---|---|
| Type | Description |
Transport |
|
clear()
public Transport.Builder clear()| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
clearAdminEnabled()
public Transport.Builder clearAdminEnabled()Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
bool admin_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearAdvertisedRoutes()
public Transport.Builder clearAdvertisedRoutes()Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearBandwidth()
public Transport.Builder clearBandwidth()Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearCreateTime()
public Transport.Builder clearCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
clearDescription()
public Transport.Builder clearDescription()Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearGeneratedActivationKey()
public Transport.Builder clearGeneratedActivationKey()Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearLabels()
public Transport.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
clearMtuLimit()
public Transport.Builder clearMtuLimit()Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
int32 mtu_limit = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearName()
public Transport.Builder clearName()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearNetwork()
public Transport.Builder clearNetwork()Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearPeeringNetwork()
public Transport.Builder clearPeeringNetwork() Output only. VPC Network URI that was created for the VPC Peering
connection to the provided network. If VPC Peering is disconnected, this
can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearProvidedActivationKey()
public Transport.Builder clearProvidedActivationKey()Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearRemoteAccountId()
public Transport.Builder clearRemoteAccountId()Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearRemoteProfile()
public Transport.Builder clearRemoteProfile()Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearStackType()
public Transport.Builder clearStackType()Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearState()
public Transport.Builder clearState()Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
clearUpdateTime()
public Transport.Builder clearUpdateTime()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdminEnabled()
public boolean getAdminEnabled()Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
bool admin_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The adminEnabled. |
getAdvertisedRoutes(int index)
public String getAdvertisedRoutes(int index)Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The advertisedRoutes at the given index. |
getAdvertisedRoutesBytes(int index)
public ByteString getAdvertisedRoutesBytes(int index)Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the advertisedRoutes at the given index. |
getAdvertisedRoutesCount()
public int getAdvertisedRoutesCount()Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of advertisedRoutes. |
getAdvertisedRoutesList()
public ProtocolStringList getAdvertisedRoutesList()Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the advertisedRoutes. |
getBandwidth()
public Transport.Bandwidth getBandwidth()Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.Bandwidth |
The bandwidth. |
getBandwidthValue()
public int getBandwidthValue()Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for bandwidth. |
getCreateTime()
public Timestamp getCreateTime()Output only. Create time stamp.
.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. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Transport getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Transport |
|
getDescription()
public String getDescription()Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGeneratedActivationKey()
public String getGeneratedActivationKey()Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The generatedActivationKey. |
getGeneratedActivationKeyBytes()
public ByteString getGeneratedActivationKeyBytes()Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for generatedActivationKey. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMtuLimit()
public int getMtuLimit()Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
int32 mtu_limit = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The mtuLimit. |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetwork()
public String getNetwork()Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The network. |
getNetworkBytes()
public ByteString getNetworkBytes()Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for network. |
getPeeringNetwork()
public String getPeeringNetwork() Output only. VPC Network URI that was created for the VPC Peering
connection to the provided network. If VPC Peering is disconnected, this
can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The peeringNetwork. |
getPeeringNetworkBytes()
public ByteString getPeeringNetworkBytes() Output only. VPC Network URI that was created for the VPC Peering
connection to the provided network. If VPC Peering is disconnected, this
can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for peeringNetwork. |
getProvidedActivationKey()
public String getProvidedActivationKey()Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The providedActivationKey. |
getProvidedActivationKeyBytes()
public ByteString getProvidedActivationKeyBytes()Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for providedActivationKey. |
getRemoteAccountId()
public String getRemoteAccountId()Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The remoteAccountId. |
getRemoteAccountIdBytes()
public ByteString getRemoteAccountIdBytes()Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for remoteAccountId. |
getRemoteProfile()
public String getRemoteProfile()Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The remoteProfile. |
getRemoteProfileBytes()
public ByteString getRemoteProfileBytes()Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for remoteProfile. |
getStackType()
public Transport.StackType getStackType()Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transport.StackType |
The stackType. |
getStackTypeValue()
public int getStackTypeValue()Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for stackType. |
getState()
public Transport.State getState()Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Transport.State |
The state. |
getStateValue()
public int getStateValue()Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Update time stamp.
.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. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Create time stamp.
.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. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Transport.Builder mergeCreateTime(Timestamp value)Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
mergeFrom(Transport other)
public Transport.Builder mergeFrom(Transport other)| Parameter | |
|---|---|
| Name | Description |
other |
Transport |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Transport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Transport.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
mergeUpdateTime(Timestamp value)
public Transport.Builder mergeUpdateTime(Timestamp value)Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
putAllLabels(Map<String,String> values)
public Transport.Builder putAllLabels(Map<String,String> values)Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
putLabels(String key, String value)
public Transport.Builder putLabels(String key, String value)Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
removeLabels(String key)
public Transport.Builder removeLabels(String key)Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
setAdminEnabled(boolean value)
public Transport.Builder setAdminEnabled(boolean value)Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
bool admin_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe adminEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setAdvertisedRoutes(int index, String value)
public Transport.Builder setAdvertisedRoutes(int index, String value)Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe advertisedRoutes to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setBandwidth(Transport.Bandwidth value)
public Transport.Builder setBandwidth(Transport.Bandwidth value)Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Transport.BandwidthThe bandwidth to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setBandwidthValue(int value)
public Transport.Builder setBandwidthValue(int value)Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for bandwidth to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public Transport.Builder setCreateTime(Timestamp value)Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Transport.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
setDescription(String value)
public Transport.Builder setDescription(String value)Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Transport.Builder setDescriptionBytes(ByteString value)Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setGeneratedActivationKey(String value)
public Transport.Builder setGeneratedActivationKey(String value)Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe generatedActivationKey to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setGeneratedActivationKeyBytes(ByteString value)
public Transport.Builder setGeneratedActivationKeyBytes(ByteString value)Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for generatedActivationKey to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setMtuLimit(int value)
public Transport.Builder setMtuLimit(int value)Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
int32 mtu_limit = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe mtuLimit to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setName(String value)
public Transport.Builder setName(String value)Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Transport.Builder setNameBytes(ByteString value)Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setNetwork(String value)
public Transport.Builder setNetwork(String value)Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public Transport.Builder setNetworkBytes(ByteString value)Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setPeeringNetwork(String value)
public Transport.Builder setPeeringNetwork(String value) Output only. VPC Network URI that was created for the VPC Peering
connection to the provided network. If VPC Peering is disconnected, this
can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peeringNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setPeeringNetworkBytes(ByteString value)
public Transport.Builder setPeeringNetworkBytes(ByteString value) Output only. VPC Network URI that was created for the VPC Peering
connection to the provided network. If VPC Peering is disconnected, this
can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peeringNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setProvidedActivationKey(String value)
public Transport.Builder setProvidedActivationKey(String value)Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe providedActivationKey to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setProvidedActivationKeyBytes(ByteString value)
public Transport.Builder setProvidedActivationKeyBytes(ByteString value)Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for providedActivationKey to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setRemoteAccountId(String value)
public Transport.Builder setRemoteAccountId(String value)Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe remoteAccountId to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setRemoteAccountIdBytes(ByteString value)
public Transport.Builder setRemoteAccountIdBytes(ByteString value)Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for remoteAccountId to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setRemoteProfile(String value)
public Transport.Builder setRemoteProfile(String value)Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe remoteProfile to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setRemoteProfileBytes(ByteString value)
public Transport.Builder setRemoteProfileBytes(ByteString value)Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for remoteProfile to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setStackType(Transport.StackType value)
public Transport.Builder setStackType(Transport.StackType value)Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Transport.StackTypeThe stackType to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setStackTypeValue(int value)
public Transport.Builder setStackTypeValue(int value)Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for stackType to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setState(Transport.State value)
public Transport.Builder setState(Transport.State value)Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Transport.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setStateValue(int value)
public Transport.Builder setStateValue(int value)Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Transport.Builder setUpdateTime(Timestamp value)Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Transport.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Transport.Builder |
|