Class ListCalculatedMetricsResponse (0.49.0)

public final class ListCalculatedMetricsResponse extends GeneratedMessageV3 implements ListCalculatedMetricsResponseOrBuilder

Response message for ListCalculatedMetrics RPC.

Protobuf type google.analytics.admin.v1alpha.ListCalculatedMetricsResponse

Static Fields

CALCULATED_METRICS_FIELD_NUMBER

public static final int CALCULATED_METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListCalculatedMetricsResponse getDefaultInstance()
Returns
TypeDescription
ListCalculatedMetricsResponse

getDescriptor()

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

newBuilder()

public static ListCalculatedMetricsResponse.Builder newBuilder()
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

newBuilder(ListCalculatedMetricsResponse prototype)

public static ListCalculatedMetricsResponse.Builder newBuilder(ListCalculatedMetricsResponse prototype)
Parameter
NameDescription
prototypeListCalculatedMetricsResponse
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListCalculatedMetricsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCalculatedMetricsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListCalculatedMetricsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListCalculatedMetricsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListCalculatedMetricsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListCalculatedMetricsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListCalculatedMetricsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCalculatedMetricsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListCalculatedMetricsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCalculatedMetricsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListCalculatedMetricsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListCalculatedMetricsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCalculatedMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListCalculatedMetricsResponse> parser()
Returns
TypeDescription
Parser<ListCalculatedMetricsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCalculatedMetrics(int index)

public CalculatedMetric getCalculatedMetrics(int index)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CalculatedMetric

getCalculatedMetricsCount()

public int getCalculatedMetricsCount()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
TypeDescription
int

getCalculatedMetricsList()

public List<CalculatedMetric> getCalculatedMetricsList()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
TypeDescription
List<CalculatedMetric>

getCalculatedMetricsOrBuilder(int index)

public CalculatedMetricOrBuilder getCalculatedMetricsOrBuilder(int index)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CalculatedMetricOrBuilder

getCalculatedMetricsOrBuilderList()

public List<? extends CalculatedMetricOrBuilder> getCalculatedMetricsOrBuilderList()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.CalculatedMetricOrBuilder>

getDefaultInstanceForType()

public ListCalculatedMetricsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCalculatedMetricsResponse

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.

getParserForType()

public Parser<ListCalculatedMetricsResponse> getParserForType()
Returns
TypeDescription
Parser<ListCalculatedMetricsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListCalculatedMetricsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListCalculatedMetricsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListCalculatedMetricsResponse.Builder toBuilder()
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException