Class UpdateApiConfigRequest.Builder (2.49.0)

public static final class UpdateApiConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateApiConfigRequest.Builder> implements UpdateApiConfigRequestOrBuilder

Request message for ApiGatewayService.UpdateApiConfig

Protobuf type google.cloud.apigateway.v1.UpdateApiConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateApiConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

build()

public UpdateApiConfigRequest build()
Returns
Type Description
UpdateApiConfigRequest

buildPartial()

public UpdateApiConfigRequest buildPartial()
Returns
Type Description
UpdateApiConfigRequest

clear()

public UpdateApiConfigRequest.Builder clear()
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

clearApiConfig()

public UpdateApiConfigRequest.Builder clearApiConfig()

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateApiConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateApiConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateApiConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

clearUpdateMask()

public UpdateApiConfigRequest.Builder clearUpdateMask()

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
UpdateApiConfigRequest.Builder

clone()

public UpdateApiConfigRequest.Builder clone()
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

getApiConfig()

public ApiConfig getApiConfig()

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiConfig

The apiConfig.

getApiConfigBuilder()

public ApiConfig.Builder getApiConfigBuilder()

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiConfig.Builder

getApiConfigOrBuilder()

public ApiConfigOrBuilder getApiConfigOrBuilder()

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiConfigOrBuilder

getDefaultInstanceForType()

public UpdateApiConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateApiConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
FieldMaskOrBuilder

hasApiConfig()

public boolean hasApiConfig()

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the apiConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiConfig(ApiConfig value)

public UpdateApiConfigRequest.Builder mergeApiConfig(ApiConfig value)

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ApiConfig
Returns
Type Description
UpdateApiConfigRequest.Builder

mergeFrom(UpdateApiConfigRequest other)

public UpdateApiConfigRequest.Builder mergeFrom(UpdateApiConfigRequest other)
Parameter
Name Description
other UpdateApiConfigRequest
Returns
Type Description
UpdateApiConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateApiConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateApiConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateApiConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateApiConfigRequest.Builder mergeUpdateMask(FieldMask value)

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
value FieldMask
Returns
Type Description
UpdateApiConfigRequest.Builder

setApiConfig(ApiConfig value)

public UpdateApiConfigRequest.Builder setApiConfig(ApiConfig value)

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ApiConfig
Returns
Type Description
UpdateApiConfigRequest.Builder

setApiConfig(ApiConfig.Builder builderForValue)

public UpdateApiConfigRequest.Builder setApiConfig(ApiConfig.Builder builderForValue)

Required. API Config resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ApiConfig.Builder
Returns
Type Description
UpdateApiConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateApiConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

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

public UpdateApiConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateApiConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateApiConfigRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateApiConfigRequest.Builder setUpdateMask(FieldMask value)

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
value FieldMask
Returns
Type Description
UpdateApiConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateApiConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Field mask is used to specify the fields to be overwritten in the ApiConfig 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
Type Description
UpdateApiConfigRequest.Builder