Class ListMeasurementProtocolSecretsResponse.Builder (0.46.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1beta.MeasurementProtocolSecret>
Returns
TypeDescription
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
NameDescription
valueMeasurementProtocolSecret
Returns
TypeDescription
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
NameDescription
builderForValueMeasurementProtocolSecret.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMeasurementProtocolSecret
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMeasurementProtocolSecret.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MeasurementProtocolSecret.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMeasurementProtocolSecretsResponse build()
Returns
TypeDescription
ListMeasurementProtocolSecretsResponse

buildPartial()

public ListMeasurementProtocolSecretsResponse buildPartial()
Returns
TypeDescription
ListMeasurementProtocolSecretsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListMeasurementProtocolSecretsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListMeasurementProtocolSecretsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMeasurementProtocolSecretsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMeasurementProtocolSecretsResponse

getDescriptorForType()

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

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMeasurementProtocolSecretsResponse other)

public ListMeasurementProtocolSecretsResponse.Builder mergeFrom(ListMeasurementProtocolSecretsResponse other)
Parameter
NameDescription
otherListMeasurementProtocolSecretsResponse
Returns
TypeDescription
ListMeasurementProtocolSecretsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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