Class UpdateGoogleChannelConfigRequest.Builder (1.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGoogleChannelConfigRequest build()
Returns
TypeDescription
UpdateGoogleChannelConfigRequest

buildPartial()

public UpdateGoogleChannelConfigRequest buildPartial()
Returns
TypeDescription
UpdateGoogleChannelConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateGoogleChannelConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateGoogleChannelConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateGoogleChannelConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateGoogleChannelConfigRequest

getDescriptorForType()

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

public UpdateGoogleChannelConfigRequest.Builder mergeFrom(UpdateGoogleChannelConfigRequest other)
Parameter
NameDescription
otherUpdateGoogleChannelConfigRequest
Returns
TypeDescription
UpdateGoogleChannelConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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