public final class TableFieldSchema extends GeneratedMessageV3 implements TableFieldSchemaOrBuilder
A field in TableSchema.Protobuf type
google.cloud.asset.v1.TableFieldSchema
Modifier and Type | Class and Description |
---|---|
static class |
TableFieldSchema.Builder
A field in TableSchema.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
FIELD_FIELD_NUMBER |
static int |
FIELDS_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int FIELD_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getField()
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string field = 1;
getField
in interface TableFieldSchemaOrBuilder
public ByteString getFieldBytes()
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string field = 1;
getFieldBytes
in interface TableFieldSchemaOrBuilder
public String getType()
The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
string type = 2;
getType
in interface TableFieldSchemaOrBuilder
public ByteString getTypeBytes()
The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
string type = 2;
getTypeBytes
in interface TableFieldSchemaOrBuilder
public String getMode()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
getMode
in interface TableFieldSchemaOrBuilder
public ByteString getModeBytes()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
getModeBytes
in interface TableFieldSchemaOrBuilder
public List<TableFieldSchema> getFieldsList()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsList
in interface TableFieldSchemaOrBuilder
public List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsOrBuilderList
in interface TableFieldSchemaOrBuilder
public int getFieldsCount()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsCount
in interface TableFieldSchemaOrBuilder
public TableFieldSchema getFields(int index)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFields
in interface TableFieldSchemaOrBuilder
public TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsOrBuilder
in interface TableFieldSchemaOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static TableFieldSchema parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TableFieldSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TableFieldSchema parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TableFieldSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TableFieldSchema parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TableFieldSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TableFieldSchema parseFrom(InputStream input) throws IOException
IOException
public static TableFieldSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TableFieldSchema parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TableFieldSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TableFieldSchema parseFrom(CodedInputStream input) throws IOException
IOException
public static TableFieldSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TableFieldSchema.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static TableFieldSchema.Builder newBuilder()
public static TableFieldSchema.Builder newBuilder(TableFieldSchema prototype)
public TableFieldSchema.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected TableFieldSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static TableFieldSchema getDefaultInstance()
public static Parser<TableFieldSchema> parser()
public Parser<TableFieldSchema> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public TableFieldSchema getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.