public static final class UpdateGatewayRequest.Builder extends GeneratedMessageV3.Builder<UpdateGatewayRequest.Builder> implements UpdateGatewayRequestOrBuilder
Request message for ApiGatewayService.UpdateGateway
Protobuf type google.cloud.apigateway.v1.UpdateGatewayRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateGatewayRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateGatewayRequest build()
Returns
buildPartial()
public UpdateGatewayRequest buildPartial()
Returns
clear()
public UpdateGatewayRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGatewayRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGateway()
public UpdateGatewayRequest.Builder clearGateway()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGatewayRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateGatewayRequest.Builder clearUpdateMask()
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;
Returns
clone()
public UpdateGatewayRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateGatewayRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGateway()
public Gateway getGateway()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getGatewayBuilder()
public Gateway.Builder getGatewayBuilder()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getGatewayOrBuilder()
public GatewayOrBuilder getGatewayOrBuilder()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
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;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
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;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
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;
Returns
hasGateway()
public boolean hasGateway()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the gateway field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
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;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateGatewayRequest other)
public UpdateGatewayRequest.Builder mergeFrom(UpdateGatewayRequest other)
Parameter
Returns
public UpdateGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateGatewayRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGateway(Gateway value)
public UpdateGatewayRequest.Builder mergeGateway(Gateway value)
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGatewayRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateGatewayRequest.Builder mergeUpdateMask(FieldMask value)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGatewayRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGateway(Gateway value)
public UpdateGatewayRequest.Builder setGateway(Gateway value)
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setGateway(Gateway.Builder builderForValue)
public UpdateGatewayRequest.Builder setGateway(Gateway.Builder builderForValue)
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGatewayRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGatewayRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateGatewayRequest.Builder setUpdateMask(FieldMask value)
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;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGatewayRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns