Class CreateChannelGroupRequest.Builder (0.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateChannelGroupRequest build()
Returns
TypeDescription
CreateChannelGroupRequest

buildPartial()

public CreateChannelGroupRequest buildPartial()
Returns
TypeDescription
CreateChannelGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateChannelGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateChannelGroupRequest

getDescriptorForType()

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

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

Required. The ChannelGroup to create.

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

Parameter
NameDescription
valueChannelGroup
Returns
TypeDescription
CreateChannelGroupRequest.Builder

mergeFrom(CreateChannelGroupRequest other)

public CreateChannelGroupRequest.Builder mergeFrom(CreateChannelGroupRequest other)
Parameter
NameDescription
otherCreateChannelGroupRequest
Returns
TypeDescription
CreateChannelGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateChannelGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateChannelGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateChannelGroupRequest.Builder
Overrides