Class UpdateChannelGroupRequest.Builder (0.95.0)

public static final class UpdateChannelGroupRequest.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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