Class CreateAudienceListRequest (0.47.0)

public final class CreateAudienceListRequest extends GeneratedMessageV3 implements CreateAudienceListRequestOrBuilder

A request to create a new audience list.

Protobuf type google.analytics.data.v1alpha.CreateAudienceListRequest

Static Fields

AUDIENCE_LIST_FIELD_NUMBER

public static final int AUDIENCE_LIST_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 CreateAudienceListRequest getDefaultInstance()
Returns
TypeDescription
CreateAudienceListRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateAudienceListRequest prototype)

public static CreateAudienceListRequest.Builder newBuilder(CreateAudienceListRequest prototype)
Parameter
NameDescription
prototypeCreateAudienceListRequest
Returns
TypeDescription
CreateAudienceListRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAudienceList()

public AudienceList getAudienceList()

Required. The audience list to create.

.google.analytics.data.v1alpha.AudienceList audience_list = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceList

The audienceList.

getAudienceListOrBuilder()

public AudienceListOrBuilder getAudienceListOrBuilder()

Required. The audience list to create.

.google.analytics.data.v1alpha.AudienceList audience_list = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceListOrBuilder

getDefaultInstanceForType()

public CreateAudienceListRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAudienceListRequest

getParent()

public String getParent()

Required. The parent resource where this audience list will be created. Format: properties/{property}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this audience list will be created. Format: properties/{property}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAudienceList()

public boolean hasAudienceList()

Required. The audience list to create.

.google.analytics.data.v1alpha.AudienceList audience_list = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the audienceList 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 CreateAudienceListRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateAudienceListRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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