Class GetAudienceRequest.Builder (0.18.0)

public static final class GetAudienceRequest.Builder extends GeneratedMessageV3.Builder<GetAudienceRequest.Builder> implements GetAudienceRequestOrBuilder

Request message for GetAudience RPC.

Protobuf type google.analytics.admin.v1alpha.GetAudienceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAudienceRequest build()
Returns
TypeDescription
GetAudienceRequest

buildPartial()

public GetAudienceRequest buildPartial()
Returns
TypeDescription
GetAudienceRequest

clear()

public GetAudienceRequest.Builder clear()
Returns
TypeDescription
GetAudienceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetAudienceRequest.Builder clearName()

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678

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

Returns
TypeDescription
GetAudienceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetAudienceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetAudienceRequest.Builder
Overrides

clone()

public GetAudienceRequest.Builder clone()
Returns
TypeDescription
GetAudienceRequest.Builder
Overrides

getDefaultInstanceForType()

public GetAudienceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAudienceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetAudienceRequest other)

public GetAudienceRequest.Builder mergeFrom(GetAudienceRequest other)
Parameter
NameDescription
otherGetAudienceRequest
Returns
TypeDescription
GetAudienceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetAudienceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetAudienceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAudienceRequest.Builder setName(String value)

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetAudienceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAudienceRequest.Builder setNameBytes(ByteString value)

Required. The name of the Audience to get. Example format: properties/1234/audiences/5678

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetAudienceRequest.Builder

This builder for chaining.

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

public GetAudienceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetAudienceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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