Class CreateAudienceListRequest.Builder (0.44.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateAudienceListRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateAudienceListRequest.Builder
Overrides

build()

public CreateAudienceListRequest build()
Returns
TypeDescription
CreateAudienceListRequest

buildPartial()

public CreateAudienceListRequest buildPartial()
Returns
TypeDescription
CreateAudienceListRequest

clear()

public CreateAudienceListRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateAudienceListRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateAudienceListRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateAudienceListRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAudienceListRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateAudienceListRequest.Builder

This builder for chaining.

clone()

public CreateAudienceListRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AudienceListOrBuilder

getDefaultInstanceForType()

public CreateAudienceListRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAudienceListRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAudienceList
Returns
TypeDescription
CreateAudienceListRequest.Builder

mergeFrom(CreateAudienceListRequest other)

public CreateAudienceListRequest.Builder mergeFrom(CreateAudienceListRequest other)
Parameter
NameDescription
otherCreateAudienceListRequest
Returns
TypeDescription
CreateAudienceListRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAudienceListRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAudienceListRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateAudienceListRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateAudienceListRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAudienceListRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAudienceList
Returns
TypeDescription
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
NameDescription
builderForValueAudienceList.Builder
Returns
TypeDescription
CreateAudienceListRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAudienceListRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateAudienceListRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAudienceListRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateAudienceListRequest.Builder
Overrides