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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LogTypeSchema.Builder newBuilder()
newBuilder(LogTypeSchema prototype)
public static LogTypeSchema.Builder newBuilder(LogTypeSchema prototype)
public static LogTypeSchema parseDelimitedFrom(InputStream input)
public static LogTypeSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LogTypeSchema parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LogTypeSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LogTypeSchema parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogTypeSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogTypeSchema parseFrom(CodedInputStream input)
public static LogTypeSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LogTypeSchema parseFrom(InputStream input)
public static LogTypeSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LogTypeSchema parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LogTypeSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LogTypeSchema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LogTypeSchema getDefaultInstanceForType()
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
|
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;
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
|
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
|
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;
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
|
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()
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()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LogTypeSchema.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LogTypeSchema.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public LogTypeSchema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides