Class ListMeasurementProtocolSecretsResponse.Builder (0.59.0)

public static final class ListMeasurementProtocolSecretsResponse.Builder extends GeneratedMessageV3.Builder<ListMeasurementProtocolSecretsResponse.Builder> implements ListMeasurementProtocolSecretsResponseOrBuilder

Response message for ListMeasurementProtocolSecret RPC

Protobuf type google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse

Static Methods

getDescriptor()

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

Methods

addAllMeasurementProtocolSecrets(Iterable<? extends MeasurementProtocolSecret> values)

public ListMeasurementProtocolSecretsResponse.Builder addAllMeasurementProtocolSecrets(Iterable<? extends MeasurementProtocolSecret> values)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1beta.MeasurementProtocolSecret>
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

addMeasurementProtocolSecrets(MeasurementProtocolSecret value)

public ListMeasurementProtocolSecretsResponse.Builder addMeasurementProtocolSecrets(MeasurementProtocolSecret value)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
value MeasurementProtocolSecret
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

addMeasurementProtocolSecrets(MeasurementProtocolSecret.Builder builderForValue)

public ListMeasurementProtocolSecretsResponse.Builder addMeasurementProtocolSecrets(MeasurementProtocolSecret.Builder builderForValue)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
builderForValue MeasurementProtocolSecret.Builder
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

addMeasurementProtocolSecrets(int index, MeasurementProtocolSecret value)

public ListMeasurementProtocolSecretsResponse.Builder addMeasurementProtocolSecrets(int index, MeasurementProtocolSecret value)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameters
Name Description
index int
value MeasurementProtocolSecret
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

addMeasurementProtocolSecrets(int index, MeasurementProtocolSecret.Builder builderForValue)

public ListMeasurementProtocolSecretsResponse.Builder addMeasurementProtocolSecrets(int index, MeasurementProtocolSecret.Builder builderForValue)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameters
Name Description
index int
builderForValue MeasurementProtocolSecret.Builder
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

addMeasurementProtocolSecretsBuilder()

public MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder()

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Returns
Type Description
MeasurementProtocolSecret.Builder

addMeasurementProtocolSecretsBuilder(int index)

public MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder(int index)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
MeasurementProtocolSecret.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMeasurementProtocolSecretsResponse build()
Returns
Type Description
ListMeasurementProtocolSecretsResponse

buildPartial()

public ListMeasurementProtocolSecretsResponse buildPartial()
Returns
Type Description
ListMeasurementProtocolSecretsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMeasurementProtocolSecrets()

public ListMeasurementProtocolSecretsResponse.Builder clearMeasurementProtocolSecrets()

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

clearNextPageToken()

public ListMeasurementProtocolSecretsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMeasurementProtocolSecretsResponse getDefaultInstanceForType()
Returns
Type Description
ListMeasurementProtocolSecretsResponse

getDescriptorForType()

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

getMeasurementProtocolSecrets(int index)

public MeasurementProtocolSecret getMeasurementProtocolSecrets(int index)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
MeasurementProtocolSecret

getMeasurementProtocolSecretsBuilder(int index)

public MeasurementProtocolSecret.Builder getMeasurementProtocolSecretsBuilder(int index)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
MeasurementProtocolSecret.Builder

getMeasurementProtocolSecretsBuilderList()

public List<MeasurementProtocolSecret.Builder> getMeasurementProtocolSecretsBuilderList()

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Returns
Type Description
List<Builder>

getMeasurementProtocolSecretsCount()

public int getMeasurementProtocolSecretsCount()

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Returns
Type Description
int

getMeasurementProtocolSecretsList()

public List<MeasurementProtocolSecret> getMeasurementProtocolSecretsList()

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Returns
Type Description
List<MeasurementProtocolSecret>

getMeasurementProtocolSecretsOrBuilder(int index)

public MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder(int index)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
MeasurementProtocolSecretOrBuilder

getMeasurementProtocolSecretsOrBuilderList()

public List<? extends MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsOrBuilderList()

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMeasurementProtocolSecretsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMeasurementProtocolSecrets(int index)

public ListMeasurementProtocolSecretsResponse.Builder removeMeasurementProtocolSecrets(int index)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMeasurementProtocolSecrets(int index, MeasurementProtocolSecret value)

public ListMeasurementProtocolSecretsResponse.Builder setMeasurementProtocolSecrets(int index, MeasurementProtocolSecret value)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameters
Name Description
index int
value MeasurementProtocolSecret
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

setMeasurementProtocolSecrets(int index, MeasurementProtocolSecret.Builder builderForValue)

public ListMeasurementProtocolSecretsResponse.Builder setMeasurementProtocolSecrets(int index, MeasurementProtocolSecret.Builder builderForValue)

A list of secrets for the parent stream specified in the request.

repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1;

Parameters
Name Description
index int
builderForValue MeasurementProtocolSecret.Builder
Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

setNextPageToken(String value)

public ListMeasurementProtocolSecretsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMeasurementProtocolSecretsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListMeasurementProtocolSecretsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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