public static final class UpdateGatewayRequest.Builder extends GeneratedMessage.Builder<UpdateGatewayRequest.Builder> implements UpdateGatewayRequestOrBuilderRequest used by the UpdateGateway method.
Protobuf type google.cloud.networkservices.v1.UpdateGatewayRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateGatewayRequest.BuilderImplements
UpdateGatewayRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateGatewayRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest |
|
buildPartial()
public UpdateGatewayRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest |
|
clear()
public UpdateGatewayRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
clearGateway()
public UpdateGatewayRequest.Builder clearGateway()Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
clearUpdateMask()
public UpdateGatewayRequest.Builder clearUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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 |
UpdateGatewayRequest.Builder |
|
getDefaultInstanceForType()
public UpdateGatewayRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGateway()
public Gateway getGateway()Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Gateway |
The gateway. |
getGatewayBuilder()
public Gateway.Builder getGatewayBuilder()Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Gateway.Builder |
|
getGatewayOrBuilder()
public GatewayOrBuilder getGatewayOrBuilder()Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GatewayOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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 Gateway 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 Gateway 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 |
|
hasGateway()
public boolean hasGateway()Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gateway field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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(UpdateGatewayRequest other)
public UpdateGatewayRequest.Builder mergeFrom(UpdateGatewayRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateGatewayRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateGatewayRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
mergeGateway(Gateway value)
public UpdateGatewayRequest.Builder mergeGateway(Gateway value)Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Gateway |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateGatewayRequest.Builder mergeUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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 |
UpdateGatewayRequest.Builder |
|
setGateway(Gateway value)
public UpdateGatewayRequest.Builder setGateway(Gateway value)Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Gateway |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
setGateway(Gateway.Builder builderForValue)
public UpdateGatewayRequest.Builder setGateway(Gateway.Builder builderForValue)Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Gateway.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewayRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateGatewayRequest.Builder setUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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 |
UpdateGatewayRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGatewayRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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 |
UpdateGatewayRequest.Builder |
|