Class LogTypeSchema.DetailsFieldSchema (0.37.0)

public static final class LogTypeSchema.DetailsFieldSchema extends GeneratedMessage implements LogTypeSchema.DetailsFieldSchemaOrBuilder

A schema for a particular details field on the Feed proto message.

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

Inheritance

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

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENUM_FIELD_SCHEMAS_FIELD_NUMBER

public static final int ENUM_FIELD_SCHEMAS_FIELD_NUMBER
Field Value
Type Description
int

EXAMPLE_INPUT_FIELD_NUMBER

public static final int EXAMPLE_INPUT_FIELD_NUMBER
Field Value
Type Description
int

FIELD_PATH_FIELD_NUMBER

public static final int FIELD_PATH_FIELD_NUMBER
Field Value
Type Description
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

REQUIRED_FIELD_NUMBER

public static final int REQUIRED_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(LogTypeSchema.DetailsFieldSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

A human-readable description for this field.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description for this field.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

A human-readable name for this field.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this field.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getEnumFieldSchemas(int index)

public LogTypeSchema.EnumFieldSchema getEnumFieldSchemas(int index)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.EnumFieldSchema

getEnumFieldSchemasCount()

public int getEnumFieldSchemasCount()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
int

getEnumFieldSchemasList()

public List<LogTypeSchema.EnumFieldSchema> getEnumFieldSchemasList()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Returns
Type Description
List<EnumFieldSchema>

getEnumFieldSchemasOrBuilder(int index)

public LogTypeSchema.EnumFieldSchemaOrBuilder getEnumFieldSchemasOrBuilder(int index)

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

Parameter
Name Description
index int
Returns
Type Description
LogTypeSchema.EnumFieldSchemaOrBuilder

getEnumFieldSchemasOrBuilderList()

public List<? extends LogTypeSchema.EnumFieldSchemaOrBuilder> getEnumFieldSchemasOrBuilderList()

If a field has an enum type, this is the schema describing the possible values.

repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5;

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

getExampleInput()

public String getExampleInput()

For those fields with input requirements that aren't adequately expressed by the SemanticType it is often useful to supply an example input.

string example_input = 7;

Returns
Type Description
String

The exampleInput.

getExampleInputBytes()

public ByteString getExampleInputBytes()

For those fields with input requirements that aren't adequately expressed by the SemanticType it is often useful to supply an example input.

string example_input = 7;

Returns
Type Description
ByteString

The bytes for exampleInput.

getFieldPath()

public String getFieldPath()

The protocol buffer field path. For example, "details.azure_ad_context_settings.authentication.token_endpoint".

string field_path = 1;

Returns
Type Description
String

The fieldPath.

getFieldPathBytes()

public ByteString getFieldPathBytes()

The protocol buffer field path. For example, "details.azure_ad_context_settings.authentication.token_endpoint".

string field_path = 1;

Returns
Type Description
ByteString

The bytes for fieldPath.

getParserForType()

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

getReadOnly()

public boolean getReadOnly()

For those fields which are read only.

bool read_only = 8;

Returns
Type Description
boolean

The readOnly.

getRequired()

public boolean getRequired()

Whether this field must be specified to have a valid feed configuration.

bool required = 6;

Returns
Type Description
boolean

The required.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public SemanticType getType()

A type that represents both the encoding and the semantics of this field.

.google.cloud.chronicle.v1.SemanticType type = 4;

Returns
Type Description
SemanticType

The type.

getTypeValue()

public int getTypeValue()

A type that represents both the encoding and the semantics of this field.

.google.cloud.chronicle.v1.SemanticType type = 4;

Returns
Type Description
int

The enum numeric value on the wire for type.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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