Class CreateAudienceListRequest.Builder (0.55.0)

public static final class CreateAudienceListRequest.Builder extends GeneratedMessageV3.Builder<CreateAudienceListRequest.Builder> implements CreateAudienceListRequestOrBuilder

A request to create a new audience list.

Protobuf type google.analytics.data.v1alpha.CreateAudienceListRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateAudienceListRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

build()

public CreateAudienceListRequest build()
Returns
Type Description
CreateAudienceListRequest

buildPartial()

public CreateAudienceListRequest buildPartial()
Returns
Type Description
CreateAudienceListRequest

clear()

public CreateAudienceListRequest.Builder clear()
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

clearAudienceList()

public CreateAudienceListRequest.Builder clearAudienceList()

Required. The audience list to create.

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

Returns
Type Description
CreateAudienceListRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateAudienceListRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAudienceListRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

clearParent()

public CreateAudienceListRequest.Builder clearParent()

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
Type Description
CreateAudienceListRequest.Builder

This builder for chaining.

clone()

public CreateAudienceListRequest.Builder clone()
Returns
Type Description
CreateAudienceListRequest.Builder
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
Type Description
AudienceList

The audienceList.

getAudienceListBuilder()

public AudienceList.Builder getAudienceListBuilder()

Required. The audience list to create.

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

Returns
Type Description
AudienceList.Builder

getAudienceListOrBuilder()

public AudienceListOrBuilder getAudienceListOrBuilder()

Required. The audience list to create.

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

Returns
Type Description
AudienceListOrBuilder

getDefaultInstanceForType()

public CreateAudienceListRequest getDefaultInstanceForType()
Returns
Type Description
CreateAudienceListRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for parent.

hasAudienceList()

public boolean hasAudienceList()

Required. The audience list to create.

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

Returns
Type Description
boolean

Whether the audienceList field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAudienceList(AudienceList value)

public CreateAudienceListRequest.Builder mergeAudienceList(AudienceList value)

Required. The audience list to create.

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

Parameter
Name Description
value AudienceList
Returns
Type Description
CreateAudienceListRequest.Builder

mergeFrom(CreateAudienceListRequest other)

public CreateAudienceListRequest.Builder mergeFrom(CreateAudienceListRequest other)
Parameter
Name Description
other CreateAudienceListRequest
Returns
Type Description
CreateAudienceListRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAudienceListRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateAudienceListRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAudienceListRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

setAudienceList(AudienceList value)

public CreateAudienceListRequest.Builder setAudienceList(AudienceList value)

Required. The audience list to create.

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

Parameter
Name Description
value AudienceList
Returns
Type Description
CreateAudienceListRequest.Builder

setAudienceList(AudienceList.Builder builderForValue)

public CreateAudienceListRequest.Builder setAudienceList(AudienceList.Builder builderForValue)

Required. The audience list to create.

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

Parameter
Name Description
builderForValue AudienceList.Builder
Returns
Type Description
CreateAudienceListRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAudienceListRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

setParent(String value)

public CreateAudienceListRequest.Builder setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateAudienceListRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAudienceListRequest.Builder setParentBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAudienceListRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateAudienceListRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAudienceListRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAudienceListRequest.Builder
Overrides