Class UpdateGatewayRequest.Builder (2.16.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateGatewayRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateGatewayRequest.Builder
Overrides

build()

public UpdateGatewayRequest build()
Returns
TypeDescription
UpdateGatewayRequest

buildPartial()

public UpdateGatewayRequest buildPartial()
Returns
TypeDescription
UpdateGatewayRequest

clear()

public UpdateGatewayRequest.Builder clear()
Returns
TypeDescription
UpdateGatewayRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateGatewayRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateGatewayRequest.Builder
Overrides

clearGateway()

public UpdateGatewayRequest.Builder clearGateway()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateGatewayRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateGatewayRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateGatewayRequest.Builder
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
TypeDescription
UpdateGatewayRequest.Builder

clone()

public UpdateGatewayRequest.Builder clone()
Returns
TypeDescription
UpdateGatewayRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateGatewayRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateGatewayRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGateway()

public Gateway getGateway()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Gateway

The gateway.

getGatewayBuilder()

public Gateway.Builder getGatewayBuilder()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Gateway.Builder

getGatewayOrBuilder()

public GatewayOrBuilder getGatewayOrBuilder()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GatewayOrBuilder

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
TypeDescription
FieldMask

The updateMask.

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
TypeDescription
Builder

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
TypeDescription
FieldMaskOrBuilder

hasGateway()

public boolean hasGateway()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateGatewayRequest other)

public UpdateGatewayRequest.Builder mergeFrom(UpdateGatewayRequest other)
Parameter
NameDescription
otherUpdateGatewayRequest
Returns
TypeDescription
UpdateGatewayRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateGatewayRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateGatewayRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateGatewayRequest.Builder
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
NameDescription
valueGateway
Returns
TypeDescription
UpdateGatewayRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateGatewayRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateGatewayRequest.Builder
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateGatewayRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateGatewayRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateGatewayRequest.Builder
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
NameDescription
valueGateway
Returns
TypeDescription
UpdateGatewayRequest.Builder

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
NameDescription
builderForValueGateway.Builder
Returns
TypeDescription
UpdateGatewayRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateGatewayRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateGatewayRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateGatewayRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateGatewayRequest.Builder
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateGatewayRequest.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateGatewayRequest.Builder