Class CreateChannelGroupRequest (0.31.0)

public final class CreateChannelGroupRequest extends GeneratedMessageV3 implements CreateChannelGroupRequestOrBuilder

Request message for CreateChannelGroup RPC.

Protobuf type google.analytics.admin.v1alpha.CreateChannelGroupRequest

Static Fields

CHANNEL_GROUP_FIELD_NUMBER

public static final int CHANNEL_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateChannelGroupRequest getDefaultInstance()
Returns
TypeDescription
CreateChannelGroupRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateChannelGroupRequest.Builder newBuilder()
Returns
TypeDescription
CreateChannelGroupRequest.Builder

newBuilder(CreateChannelGroupRequest prototype)

public static CreateChannelGroupRequest.Builder newBuilder(CreateChannelGroupRequest prototype)
Parameter
NameDescription
prototypeCreateChannelGroupRequest
Returns
TypeDescription
CreateChannelGroupRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateChannelGroupRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateChannelGroupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateChannelGroupRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateChannelGroupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateChannelGroupRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateChannelGroupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateChannelGroupRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateChannelGroupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateChannelGroupRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateChannelGroupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateChannelGroupRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateChannelGroupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateChannelGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateChannelGroupRequest> parser()
Returns
TypeDescription
Parser<CreateChannelGroupRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<CreateChannelGroupRequest> getParserForType()
Returns
TypeDescription
Parser<CreateChannelGroupRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateChannelGroupRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateChannelGroupRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateChannelGroupRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateChannelGroupRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateChannelGroupRequest.Builder toBuilder()
Returns
TypeDescription
CreateChannelGroupRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException