Send feedback
Class CreateChannelGroupRequest.Builder (0.65.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.65.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-04-17 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-04-17 UTC."],[[["This webpage provides documentation for the `CreateChannelGroupRequest.Builder` class within the Google Analytics Admin API for Java, specifically for version 0.65.0 and earlier versions of the API."],["The `CreateChannelGroupRequest.Builder` class is used to construct request messages for creating channel groups in Google Analytics Admin."],["The page lists all versions of the documentation for this class, including the latest version 0.70.0 and all the way down to version 0.14.0, all of which include links to their respective pages."],["The class inherits from `GeneratedMessageV3.Builder` and implements `CreateChannelGroupRequestOrBuilder`, providing numerous inherited methods for message building and manipulation."],["Key methods include functionalities for setting and getting channel group details, managing parent properties, and handling various builder operations such as cloning, clearing, and merging data, along with other static methods."]]],[]]