public static final class CreateTcpRouteRequest.Builder extends GeneratedMessageV3.Builder<CreateTcpRouteRequest.Builder> implements CreateTcpRouteRequestOrBuilder
Request used by the TcpRoute method.
Protobuf type google.cloud.networkservices.v1.CreateTcpRouteRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTcpRouteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateTcpRouteRequest build()
buildPartial()
public CreateTcpRouteRequest buildPartial()
clear()
public CreateTcpRouteRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTcpRouteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTcpRouteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateTcpRouteRequest.Builder clearParent()
Required. The parent resource of the TcpRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearTcpRoute()
public CreateTcpRouteRequest.Builder clearTcpRoute()
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
clearTcpRouteId()
public CreateTcpRouteRequest.Builder clearTcpRouteId()
Required. Short name of the TcpRoute resource to be created.
string tcp_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateTcpRouteRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateTcpRouteRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource of the TcpRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource of the TcpRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getTcpRoute()
public TcpRoute getTcpRoute()
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
TcpRoute |
The tcpRoute.
|
getTcpRouteBuilder()
public TcpRoute.Builder getTcpRouteBuilder()
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
getTcpRouteId()
public String getTcpRouteId()
Required. Short name of the TcpRoute resource to be created.
string tcp_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The tcpRouteId.
|
getTcpRouteIdBytes()
public ByteString getTcpRouteIdBytes()
Required. Short name of the TcpRoute resource to be created.
string tcp_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for tcpRouteId.
|
getTcpRouteOrBuilder()
public TcpRouteOrBuilder getTcpRouteOrBuilder()
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
hasTcpRoute()
public boolean hasTcpRoute()
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the tcpRoute field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateTcpRouteRequest other)
public CreateTcpRouteRequest.Builder mergeFrom(CreateTcpRouteRequest other)
public CreateTcpRouteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateTcpRouteRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTcpRoute(TcpRoute value)
public CreateTcpRouteRequest.Builder mergeTcpRoute(TcpRoute value)
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
TcpRoute
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTcpRouteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTcpRouteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateTcpRouteRequest.Builder setParent(String value)
Required. The parent resource of the TcpRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateTcpRouteRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the TcpRoute. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTcpRouteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTcpRoute(TcpRoute value)
public CreateTcpRouteRequest.Builder setTcpRoute(TcpRoute value)
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
TcpRoute
|
setTcpRoute(TcpRoute.Builder builderForValue)
public CreateTcpRouteRequest.Builder setTcpRoute(TcpRoute.Builder builderForValue)
Required. TcpRoute resource to be created.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 3 [(.google.api.field_behavior) = REQUIRED];
setTcpRouteId(String value)
public CreateTcpRouteRequest.Builder setTcpRouteId(String value)
Required. Short name of the TcpRoute resource to be created.
string tcp_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The tcpRouteId to set.
|
setTcpRouteIdBytes(ByteString value)
public CreateTcpRouteRequest.Builder setTcpRouteIdBytes(ByteString value)
Required. Short name of the TcpRoute resource to be created.
string tcp_route_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for tcpRouteId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTcpRouteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides