public static final class ListMeasurementProtocolSecretsResponse.Builder extends GeneratedMessageV3.Builder<ListMeasurementProtocolSecretsResponse.Builder> implements ListMeasurementProtocolSecretsResponseOrBuilder
Response message for ListMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>
|
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameters
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameters
Returns
addMeasurementProtocolSecretsBuilder()
public MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder()
A list of secrets for the parent stream specified in the request.
repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMeasurementProtocolSecretsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListMeasurementProtocolSecretsResponse build()
Returns
buildPartial()
public ListMeasurementProtocolSecretsResponse buildPartial()
Returns
clear()
public ListMeasurementProtocolSecretsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListMeasurementProtocolSecretsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMeasurementProtocolSecrets()
public ListMeasurementProtocolSecretsResponse.Builder clearMeasurementProtocolSecrets()
A list of secrets for the parent stream specified in the request.
repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMeasurementProtocolSecretsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListMeasurementProtocolSecretsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListMeasurementProtocolSecretsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Returns
getMeasurementProtocolSecretsBuilderList()
public List<MeasurementProtocolSecret.Builder> getMeasurementProtocolSecretsBuilderList()
A list of secrets for the parent stream specified in the request.
repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Returns
getMeasurementProtocolSecretsCount()
public int getMeasurementProtocolSecretsCount()
A list of secrets for the parent stream specified in the request.
repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Returns
getMeasurementProtocolSecretsList()
public List<MeasurementProtocolSecret> getMeasurementProtocolSecretsList()
A list of secrets for the parent stream specified in the request.
repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Returns
getMeasurementProtocolSecretsOrBuilder(int index)
public MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder(int index)
A list of secrets for the parent stream specified in the request.
repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Returns
getMeasurementProtocolSecretsOrBuilderList()
public List<? extends MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsOrBuilderList()
A list of secrets for the parent stream specified in the request.
repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Returns
Type | Description |
List<? extends com.google.analytics.admin.v1alpha.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListMeasurementProtocolSecretsResponse other)
public ListMeasurementProtocolSecretsResponse.Builder mergeFrom(ListMeasurementProtocolSecretsResponse other)
Parameter
Returns
public ListMeasurementProtocolSecretsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListMeasurementProtocolSecretsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMeasurementProtocolSecretsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListMeasurementProtocolSecretsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameters
Returns
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.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1;
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListMeasurementProtocolSecretsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMeasurementProtocolSecretsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides