Class CreateChannelGroupRequest.Builder (0.54.0)

public static final class CreateChannelGroupRequest.Builder extends GeneratedMessageV3.Builder<CreateChannelGroupRequest.Builder> implements CreateChannelGroupRequestOrBuilder

Request message for CreateChannelGroup RPC.

Protobuf type google.analytics.admin.v1alpha.CreateChannelGroupRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateChannelGroupRequest build()
Returns
Type Description
CreateChannelGroupRequest

buildPartial()

public CreateChannelGroupRequest buildPartial()
Returns
Type Description
CreateChannelGroupRequest

clear()

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

clearChannelGroup()

public CreateChannelGroupRequest.Builder clearChannelGroup()

Required. The ChannelGroup to create.

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

Returns
Type Description
CreateChannelGroupRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateChannelGroupRequest.Builder clearParent()

Required. The property for which to create a ChannelGroup. Example format: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateChannelGroupRequest.Builder

This builder for chaining.

clone()

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

getChannelGroup()

public ChannelGroup getChannelGroup()

Required. The ChannelGroup to create.

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

Returns
Type Description
ChannelGroup

The channelGroup.

getChannelGroupBuilder()

public ChannelGroup.Builder getChannelGroupBuilder()

Required. The ChannelGroup to create.

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

Returns
Type Description
ChannelGroup.Builder

getChannelGroupOrBuilder()

public ChannelGroupOrBuilder getChannelGroupOrBuilder()

Required. The ChannelGroup to create.

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

Returns
Type Description
ChannelGroupOrBuilder

getDefaultInstanceForType()

public CreateChannelGroupRequest getDefaultInstanceForType()
Returns
Type Description
CreateChannelGroupRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The property for which to create a ChannelGroup. Example format: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The property for which to create a ChannelGroup. Example format: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasChannelGroup()

public boolean hasChannelGroup()

Required. The ChannelGroup to create.

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

Returns
Type Description
boolean

Whether the channelGroup 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 CreateChannelGroupRequest.Builder mergeChannelGroup(ChannelGroup value)

Required. The ChannelGroup to create.

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

Parameter
Name Description
value ChannelGroup
Returns
Type Description
CreateChannelGroupRequest.Builder

mergeFrom(CreateChannelGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setChannelGroup(ChannelGroup value)

public CreateChannelGroupRequest.Builder setChannelGroup(ChannelGroup value)

Required. The ChannelGroup to create.

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

Parameter
Name Description
value ChannelGroup
Returns
Type Description
CreateChannelGroupRequest.Builder

setChannelGroup(ChannelGroup.Builder builderForValue)

public CreateChannelGroupRequest.Builder setChannelGroup(ChannelGroup.Builder builderForValue)

Required. The ChannelGroup to create.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateChannelGroupRequest.Builder setParent(String value)

Required. The property for which to create a ChannelGroup. Example format: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateChannelGroupRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateChannelGroupRequest.Builder setParentBytes(ByteString value)

Required. The property for which to create a ChannelGroup. Example format: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateChannelGroupRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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