Class UpdateGoogleChannelConfigRequest.Builder (1.51.0)

public static final class UpdateGoogleChannelConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateGoogleChannelConfigRequest.Builder> implements UpdateGoogleChannelConfigRequestOrBuilder

The request message for the UpdateGoogleChannelConfig method.

Protobuf type google.cloud.eventarc.v1.UpdateGoogleChannelConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGoogleChannelConfigRequest build()
Returns
Type Description
UpdateGoogleChannelConfigRequest

buildPartial()

public UpdateGoogleChannelConfigRequest buildPartial()
Returns
Type Description
UpdateGoogleChannelConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleChannelConfig()

public UpdateGoogleChannelConfigRequest.Builder clearGoogleChannelConfig()

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateGoogleChannelConfigRequest.Builder clearUpdateMask()

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateGoogleChannelConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGoogleChannelConfigRequest

getDescriptorForType()

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

getGoogleChannelConfig()

public GoogleChannelConfig getGoogleChannelConfig()

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleChannelConfig

The googleChannelConfig.

getGoogleChannelConfigBuilder()

public GoogleChannelConfig.Builder getGoogleChannelConfigBuilder()

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleChannelConfig.Builder

getGoogleChannelConfigOrBuilder()

public GoogleChannelConfigOrBuilder getGoogleChannelConfigOrBuilder()

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleChannelConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasGoogleChannelConfig()

public boolean hasGoogleChannelConfig()

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the googleChannelConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

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

mergeFrom(UpdateGoogleChannelConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGoogleChannelConfig(GoogleChannelConfig value)

public UpdateGoogleChannelConfigRequest.Builder mergeGoogleChannelConfig(GoogleChannelConfig value)

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoogleChannelConfig
Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateGoogleChannelConfigRequest.Builder mergeUpdateMask(FieldMask value)

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleChannelConfig(GoogleChannelConfig value)

public UpdateGoogleChannelConfigRequest.Builder setGoogleChannelConfig(GoogleChannelConfig value)

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoogleChannelConfig
Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder

setGoogleChannelConfig(GoogleChannelConfig.Builder builderForValue)

public UpdateGoogleChannelConfigRequest.Builder setGoogleChannelConfig(GoogleChannelConfig.Builder builderForValue)

Required. The config to be updated.

.google.cloud.eventarc.v1.GoogleChannelConfig google_channel_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GoogleChannelConfig.Builder
Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateGoogleChannelConfigRequest.Builder setUpdateMask(FieldMask value)

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGoogleChannelConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateGoogleChannelConfigRequest.Builder