Class LogTypeSchema (0.37.0)

public final class LogTypeSchema extends GeneratedMessage implements LogTypeSchemaOrBuilder

Metadata that pertains to a log type in the context of Feeds, and is useful for building interfaces to construct valid Feed messages.

Protobuf type google.cloud.chronicle.v1.LogTypeSchema

Static Fields

DETAILS_FIELD_SCHEMAS_FIELD_NUMBER

public static final int DETAILS_FIELD_SCHEMAS_FIELD_NUMBER
Field Value
Type Description
int

DETAILS_FIELD_SCHEMA_ALTERNATIVES_FIELD_NUMBER

public static final int DETAILS_FIELD_SCHEMA_ALTERNATIVES_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LOG_TYPE_FIELD_NUMBER

public static final int LOG_TYPE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTING_DOCUMENTATION_FIELD_NUMBER

public static final int SUPPORTING_DOCUMENTATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LogTypeSchema getDefaultInstance()
Returns
Type Description
LogTypeSchema

getDescriptor()

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

newBuilder()

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

newBuilder(LogTypeSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LogTypeSchema getDefaultInstanceForType()
Returns
Type Description
LogTypeSchema

getDetailsFieldSchemaAlternatives(int index)

public LogTypeSchema.DetailsFieldSchemaAlternative getDetailsFieldSchemaAlternatives(int index)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternative

getDetailsFieldSchemaAlternativesCount()

public int getDetailsFieldSchemaAlternativesCount()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Returns
Type Description
int

getDetailsFieldSchemaAlternativesList()

public List<LogTypeSchema.DetailsFieldSchemaAlternative> getDetailsFieldSchemaAlternativesList()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Returns
Type Description
List<DetailsFieldSchemaAlternative>

getDetailsFieldSchemaAlternativesOrBuilder(int index)

public LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder getDetailsFieldSchemaAlternativesOrBuilder(int index)

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder

getDetailsFieldSchemaAlternativesOrBuilderList()

public List<? extends LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder> getDetailsFieldSchemaAlternativesOrBuilderList()

There are sets of fields which represent alternatives to one another. A user would only fill in one set of fields for any one alternative.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7;

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

getDetailsFieldSchemas(int index)

public LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas(int index)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchema

getDetailsFieldSchemasCount()

public int getDetailsFieldSchemasCount()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Returns
Type Description
int

getDetailsFieldSchemasList()

public List<LogTypeSchema.DetailsFieldSchema> getDetailsFieldSchemasList()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Returns
Type Description
List<DetailsFieldSchema>

getDetailsFieldSchemasOrBuilder(int index)

public LogTypeSchema.DetailsFieldSchemaOrBuilder getDetailsFieldSchemasOrBuilder(int index)

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.DetailsFieldSchemaOrBuilder

getDetailsFieldSchemasOrBuilderList()

public List<? extends LogTypeSchema.DetailsFieldSchemaOrBuilder> getDetailsFieldSchemasOrBuilderList()

The schemas for detail fields that are compatible with this log type and feed source type. All fields for this log type and feed source type are either contained here or within details_field_schema_alternatives.

repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6;

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

getDisplayName()

public String getDisplayName()

A human-readable name for this log type.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this log type.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getLogType()

public String getLogType()

The log type to be used in the details.log_type field.

string log_type = 3;

Returns
Type Description
String

The logType.

getLogTypeBytes()

public ByteString getLogTypeBytes()

The log type to be used in the details.log_type field.

string log_type = 3;

Returns
Type Description
ByteString

The bytes for logType.

getName()

public String getName()

The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getReadOnly()

public boolean getReadOnly()

Whether this log type schema represents a feed configuration that may exist, but should not be modified (created, edited, or deleted).

bool read_only = 4;

Returns
Type Description
boolean

The readOnly.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSupportingDocumentation()

public String getSupportingDocumentation()

A description that is displayed when users create or edit feeds.

string supporting_documentation = 5;

Returns
Type Description
String

The supportingDocumentation.

getSupportingDocumentationBytes()

public ByteString getSupportingDocumentationBytes()

A description that is displayed when users create or edit feeds.

string supporting_documentation = 5;

Returns
Type Description
ByteString

The bytes for supportingDocumentation.

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.Builder newBuilderForType()
Returns
Type Description
LogTypeSchema.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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