Class LogTypeSchema.DetailsFieldSchemaAlternative (0.37.0)

public static final class LogTypeSchema.DetailsFieldSchemaAlternative extends GeneratedMessage implements LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder

A collection of details field schema sets. The user must provide values for only one set of fields within an alternative.

Protobuf type google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > LogTypeSchema.DetailsFieldSchemaAlternative

Static Fields

DETAILS_FIELD_SCHEMA_SETS_FIELD_NUMBER

public static final int DETAILS_FIELD_SCHEMA_SETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LogTypeSchema.DetailsFieldSchemaAlternative getDefaultInstance()
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative

getDescriptor()

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

newBuilder()

public static LogTypeSchema.DetailsFieldSchemaAlternative.Builder newBuilder()
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative.Builder

newBuilder(LogTypeSchema.DetailsFieldSchemaAlternative prototype)

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

parseDelimitedFrom(InputStream input)

public static LogTypeSchema.DetailsFieldSchemaAlternative parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static LogTypeSchema.DetailsFieldSchemaAlternative parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static LogTypeSchema.DetailsFieldSchemaAlternative parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static LogTypeSchema.DetailsFieldSchemaAlternative parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static LogTypeSchema.DetailsFieldSchemaAlternative parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<LogTypeSchema.DetailsFieldSchemaAlternative> parser()
Returns
Type Description
Parser<DetailsFieldSchemaAlternative>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LogTypeSchema.DetailsFieldSchemaAlternative getDefaultInstanceForType()
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative

getDetailsFieldSchemaSets(int index)

public LogTypeSchema.DetailsFieldSchemaSet getDetailsFieldSchemaSets(int index)

The schemas for each alternative set of fields.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaSet

getDetailsFieldSchemaSetsCount()

public int getDetailsFieldSchemaSetsCount()

The schemas for each alternative set of fields.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1;

Returns
Type Description
int

getDetailsFieldSchemaSetsList()

public List<LogTypeSchema.DetailsFieldSchemaSet> getDetailsFieldSchemaSetsList()

The schemas for each alternative set of fields.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1;

Returns
Type Description
List<DetailsFieldSchemaSet>

getDetailsFieldSchemaSetsOrBuilder(int index)

public LogTypeSchema.DetailsFieldSchemaSetOrBuilder getDetailsFieldSchemaSetsOrBuilder(int index)

The schemas for each alternative set of fields.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaSetOrBuilder

getDetailsFieldSchemaSetsOrBuilderList()

public List<? extends LogTypeSchema.DetailsFieldSchemaSetOrBuilder> getDetailsFieldSchemaSetsOrBuilderList()

The schemas for each alternative set of fields.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1;

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder>

getParserForType()

public Parser<LogTypeSchema.DetailsFieldSchemaAlternative> getParserForType()
Returns
Type Description
Parser<DetailsFieldSchemaAlternative>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LogTypeSchema.DetailsFieldSchemaAlternative.Builder newBuilderForType()
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected LogTypeSchema.DetailsFieldSchemaAlternative.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative.Builder
Overrides

toBuilder()

public LogTypeSchema.DetailsFieldSchemaAlternative.Builder toBuilder()
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative.Builder

writeTo(CodedOutputStream output)

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