Class UpdateChannelGroupRequest.Builder (0.54.0)

public static final class UpdateChannelGroupRequest.Builder extends GeneratedMessageV3.Builder<UpdateChannelGroupRequest.Builder> implements UpdateChannelGroupRequestOrBuilder

Request message for UpdateChannelGroup RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateChannelGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateChannelGroupRequest build()
Returns
Type Description
UpdateChannelGroupRequest

buildPartial()

public UpdateChannelGroupRequest buildPartial()
Returns
Type Description
UpdateChannelGroupRequest

clear()

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

clearChannelGroup()

public UpdateChannelGroupRequest.Builder clearChannelGroup()

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateChannelGroupRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateChannelGroupRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateChannelGroupRequest.Builder

clone()

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

getChannelGroup()

public ChannelGroup getChannelGroup()

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelGroup

The channelGroup.

getChannelGroupBuilder()

public ChannelGroup.Builder getChannelGroupBuilder()

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelGroup.Builder

getChannelGroupOrBuilder()

public ChannelGroupOrBuilder getChannelGroupOrBuilder()

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelGroupOrBuilder

getDefaultInstanceForType()

public UpdateChannelGroupRequest getDefaultInstanceForType()
Returns
Type Description
UpdateChannelGroupRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasChannelGroup()

public boolean hasChannelGroup()

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the channelGroup field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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

mergeChannelGroup(ChannelGroup value)

public UpdateChannelGroupRequest.Builder mergeChannelGroup(ChannelGroup value)

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelGroup
Returns
Type Description
UpdateChannelGroupRequest.Builder

mergeFrom(UpdateChannelGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateChannelGroupRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateChannelGroupRequest.Builder

setChannelGroup(ChannelGroup value)

public UpdateChannelGroupRequest.Builder setChannelGroup(ChannelGroup value)

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelGroup
Returns
Type Description
UpdateChannelGroupRequest.Builder

setChannelGroup(ChannelGroup.Builder builderForValue)

public UpdateChannelGroupRequest.Builder setChannelGroup(ChannelGroup.Builder builderForValue)

Required. The ChannelGroup to update. The resource's name field is used to identify the ChannelGroup to be updated.

.google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ChannelGroup.Builder
Returns
Type Description
UpdateChannelGroupRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateChannelGroupRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateChannelGroupRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateChannelGroupRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateChannelGroupRequest.Builder