Send feedback
Class CreateChannelGroupRequest.Builder (0.57.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.57.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelGroupRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CreateChannelGroupRequest build ()
buildPartial()
public CreateChannelGroupRequest buildPartial ()
clear()
public CreateChannelGroupRequest . Builder clear ()
Overrides
clearChannelGroup()
public CreateChannelGroupRequest . Builder clearChannelGroup ()
Required. The ChannelGroup to create.
.google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateChannelGroupRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChannelGroupRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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) = { ... }
clone()
public CreateChannelGroupRequest . Builder clone ()
Overrides
getChannelGroup()
public ChannelGroup getChannelGroup ()
Required. The ChannelGroup to create.
.google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED];
getChannelGroupBuilder()
public ChannelGroup . Builder getChannelGroupBuilder ()
Required. The ChannelGroup to create.
.google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED];
getChannelGroupOrBuilder()
public ChannelGroupOrBuilder getChannelGroupOrBuilder ()
Required. The ChannelGroup to create.
.google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateChannelGroupRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
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];
mergeFrom(CreateChannelGroupRequest other)
public CreateChannelGroupRequest . Builder mergeFrom ( CreateChannelGroupRequest other )
public CreateChannelGroupRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CreateChannelGroupRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelGroupRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelGroupRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateChannelGroupRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelGroupRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `CreateChannelGroupRequest.Builder` class within the Google Analytics Admin API for Java, specifically version 0.57.0."],["The `CreateChannelGroupRequest.Builder` class is used to construct requests for creating a ChannelGroup within a Google Analytics property, and is a builder for `CreateChannelGroupRequest` objects."],["The page lists links to documentation for various versions of the Google Analytics Admin API, ranging from version 0.14.0 up to the latest 0.70.0, allowing developers to access the documentation based on their specific version needs."],["The documentation details the methods available in the `CreateChannelGroupRequest.Builder` class, including methods for setting and clearing fields, merging data, and building the final `CreateChannelGroupRequest` object."],["The builder class includes required parameters for creating a channel group such as the property for which to create the channel group and the channel group itself, and is built using the GeneratedMessageV3.Builder, with inherited and static methods."]]],[]]