Class UpdateChannelGroupRequest.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateChannelGroupRequest build()
Returns
TypeDescription
UpdateChannelGroupRequest

buildPartial()

public UpdateChannelGroupRequest buildPartial()
Returns
TypeDescription
UpdateChannelGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateChannelGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateChannelGroupRequest

getDescriptorForType()

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

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
NameDescription
valueChannelGroup
Returns
TypeDescription
UpdateChannelGroupRequest.Builder

mergeFrom(UpdateChannelGroupRequest other)

public UpdateChannelGroupRequest.Builder mergeFrom(UpdateChannelGroupRequest other)
Parameter
NameDescription
otherUpdateChannelGroupRequest
Returns
TypeDescription
UpdateChannelGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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