Class UpdateApiConfigRequest.Builder (2.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateApiConfigRequest build()
Returns
TypeDescription
UpdateApiConfigRequest

buildPartial()

public UpdateApiConfigRequest buildPartial()
Returns
TypeDescription
UpdateApiConfigRequest

clear()

public UpdateApiConfigRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateApiConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UpdateApiConfigRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ApiConfig.Builder

getApiConfigOrBuilder()

public ApiConfigOrBuilder getApiConfigOrBuilder()

Required. API Config resource.

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

Returns
TypeDescription
ApiConfigOrBuilder

getDefaultInstanceForType()

public UpdateApiConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateApiConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasApiConfig()

public boolean hasApiConfig()

Required. API Config resource.

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

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

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
NameDescription
valueApiConfig
Returns
TypeDescription
UpdateApiConfigRequest.Builder

mergeFrom(UpdateApiConfigRequest other)

public UpdateApiConfigRequest.Builder mergeFrom(UpdateApiConfigRequest other)
Parameter
NameDescription
otherUpdateApiConfigRequest
Returns
TypeDescription
UpdateApiConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateApiConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateApiConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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