Send feedback
Class ListMeasurementProtocolSecretsResponse (0.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.22.0 keyboard_arrow_down
public final class ListMeasurementProtocolSecretsResponse extends GeneratedMessageV3 implements ListMeasurementProtocolSecretsResponseOrBuilder
Response message for ListMeasurementProtocolSecret RPC
Protobuf type google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse
Static Fields
MEASUREMENT_PROTOCOL_SECRETS_FIELD_NUMBER
public static final int MEASUREMENT_PROTOCOL_SECRETS_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListMeasurementProtocolSecretsResponse getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static ListMeasurementProtocolSecretsResponse . Builder newBuilder ()
Returns
newBuilder(ListMeasurementProtocolSecretsResponse prototype)
public static ListMeasurementProtocolSecretsResponse . Builder newBuilder ( ListMeasurementProtocolSecretsResponse prototype )
Parameter
Returns
public static ListMeasurementProtocolSecretsResponse parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListMeasurementProtocolSecretsResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListMeasurementProtocolSecretsResponse parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListMeasurementProtocolSecretsResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListMeasurementProtocolSecretsResponse parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListMeasurementProtocolSecretsResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListMeasurementProtocolSecretsResponse parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ListMeasurementProtocolSecretsResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListMeasurementProtocolSecretsResponse parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListMeasurementProtocolSecretsResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListMeasurementProtocolSecretsResponse parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListMeasurementProtocolSecretsResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<ListMeasurementProtocolSecretsResponse> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListMeasurementProtocolSecretsResponse getDefaultInstanceForType ()
Returns
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
Returns
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
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
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
Returns
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.
getParserForType()
public Parser<ListMeasurementProtocolSecretsResponse> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public ListMeasurementProtocolSecretsResponse . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListMeasurementProtocolSecretsResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public ListMeasurementProtocolSecretsResponse . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage documents the `ListMeasurementProtocolSecretsResponse` class, which is a part of the Google Analytics Admin API's Java client library."],["The `ListMeasurementProtocolSecretsResponse` class extends `GeneratedMessageV3` and implements `ListMeasurementProtocolSecretsResponseOrBuilder`, offering methods for managing measurement protocol secrets, such as retrieving a list of secrets and handling pagination through a next-page token."],["The page lists multiple versions of the Java library for Google Analytics Admin, ranging from version 0.14.0 to 0.70.0, with 0.70.0 being the latest, and indicates that the current page is displaying information for version 0.22.0."],["The provided content outlines various methods for instantiating and parsing the `ListMeasurementProtocolSecretsResponse` class, such as `getDefaultInstance()`, `newBuilder()`, `parseFrom()`, and `parser()`, alongside methods for managing fields and inheritance."]]],[]]