Class ComparisonMetadata (0.62.0)

public final class ComparisonMetadata extends GeneratedMessageV3 implements ComparisonMetadataOrBuilder

The metadata for a single comparison.

Protobuf type google.analytics.data.v1beta.ComparisonMetadata

Static Fields

API_NAME_FIELD_NUMBER

public static final int API_NAME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

UI_NAME_FIELD_NUMBER

public static final int UI_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComparisonMetadata getDefaultInstance()
Returns
Type Description
ComparisonMetadata

getDescriptor()

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

newBuilder()

public static ComparisonMetadata.Builder newBuilder()
Returns
Type Description
ComparisonMetadata.Builder

newBuilder(ComparisonMetadata prototype)

public static ComparisonMetadata.Builder newBuilder(ComparisonMetadata prototype)
Parameter
Name Description
prototype ComparisonMetadata
Returns
Type Description
ComparisonMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ComparisonMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComparisonMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComparisonMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComparisonMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComparisonMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComparisonMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComparisonMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComparisonMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComparisonMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComparisonMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComparisonMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComparisonMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComparisonMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComparisonMetadata> parser()
Returns
Type Description
Parser<ComparisonMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApiName()

public String getApiName()

This comparison's resource name. Useable in Comparison's comparison field. For example, 'comparisons/1234'.

string api_name = 1;

Returns
Type Description
String

The apiName.

getApiNameBytes()

public ByteString getApiNameBytes()

This comparison's resource name. Useable in Comparison's comparison field. For example, 'comparisons/1234'.

string api_name = 1;

Returns
Type Description
ByteString

The bytes for apiName.

getDefaultInstanceForType()

public ComparisonMetadata getDefaultInstanceForType()
Returns
Type Description
ComparisonMetadata

getDescription()

public String getDescription()

This comparison's description.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

This comparison's description.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

public Parser<ComparisonMetadata> getParserForType()
Returns
Type Description
Parser<ComparisonMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUiName()

public String getUiName()

This comparison's name within the Google Analytics user interface.

string ui_name = 2;

Returns
Type Description
String

The uiName.

getUiNameBytes()

public ByteString getUiNameBytes()

This comparison's name within the Google Analytics user interface.

string ui_name = 2;

Returns
Type Description
ByteString

The bytes for uiName.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComparisonMetadata.Builder newBuilderForType()
Returns
Type Description
ComparisonMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComparisonMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComparisonMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ComparisonMetadata.Builder toBuilder()
Returns
Type Description
ComparisonMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException