Class ArchiveAudienceRequest.Builder (0.59.0)

public static final class ArchiveAudienceRequest.Builder extends GeneratedMessageV3.Builder<ArchiveAudienceRequest.Builder> implements ArchiveAudienceRequestOrBuilder

Request message for ArchiveAudience RPC.

Protobuf type google.analytics.admin.v1alpha.ArchiveAudienceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ArchiveAudienceRequest build()
Returns
Type Description
ArchiveAudienceRequest

buildPartial()

public ArchiveAudienceRequest buildPartial()
Returns
Type Description
ArchiveAudienceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ArchiveAudienceRequest.Builder clearName()

Required. Example format: properties/1234/audiences/5678

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

Returns
Type Description
ArchiveAudienceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ArchiveAudienceRequest.Builder clone()
Returns
Type Description
ArchiveAudienceRequest.Builder
Overrides

getDefaultInstanceForType()

public ArchiveAudienceRequest getDefaultInstanceForType()
Returns
Type Description
ArchiveAudienceRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Example format: properties/1234/audiences/5678

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Example format: properties/1234/audiences/5678

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ArchiveAudienceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ArchiveAudienceRequest.Builder setName(String value)

Required. Example format: properties/1234/audiences/5678

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ArchiveAudienceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ArchiveAudienceRequest.Builder setNameBytes(ByteString value)

Required. Example format: properties/1234/audiences/5678

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ArchiveAudienceRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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