public static final class UpdateTcpRouteRequest.Builder extends GeneratedMessage.Builder<UpdateTcpRouteRequest.Builder> implements UpdateTcpRouteRequestOrBuilderRequest used by the UpdateTcpRoute method.
Protobuf type google.cloud.networkservices.v1.UpdateTcpRouteRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateTcpRouteRequest.BuilderImplements
UpdateTcpRouteRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateTcpRouteRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest |
|
buildPartial()
public UpdateTcpRouteRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest |
|
clear()
public UpdateTcpRouteRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
clearTcpRoute()
public UpdateTcpRouteRequest.Builder clearTcpRoute()Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
clearUpdateMask()
public UpdateTcpRouteRequest.Builder clearUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
getDefaultInstanceForType()
public UpdateTcpRouteRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTcpRoute()
public TcpRoute getTcpRoute()Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TcpRoute |
The tcpRoute. |
getTcpRouteBuilder()
public TcpRoute.Builder getTcpRouteBuilder()Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TcpRoute.Builder |
|
getTcpRouteOrBuilder()
public TcpRouteOrBuilder getTcpRouteOrBuilder()Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TcpRouteOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasTcpRoute()
public boolean hasTcpRoute()Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tcpRoute field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateTcpRouteRequest other)
public UpdateTcpRouteRequest.Builder mergeFrom(UpdateTcpRouteRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateTcpRouteRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateTcpRouteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateTcpRouteRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
mergeTcpRoute(TcpRoute value)
public UpdateTcpRouteRequest.Builder mergeTcpRoute(TcpRoute value)Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
TcpRoute |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateTcpRouteRequest.Builder mergeUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
setTcpRoute(TcpRoute value)
public UpdateTcpRouteRequest.Builder setTcpRoute(TcpRoute value)Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
TcpRoute |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
setTcpRoute(TcpRoute.Builder builderForValue)
public UpdateTcpRouteRequest.Builder setTcpRoute(TcpRoute.Builder builderForValue)Required. Updated TcpRoute resource.
.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TcpRoute.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateTcpRouteRequest.Builder setUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateTcpRouteRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateTcpRouteRequest.Builder |
|