public final class Schema extends GeneratedMessage implements SchemaOrBuilder
The schema of a Datasource or QueryResult instance.
Protobuf type google.cloud.geminidataanalytics.v1beta.Schema
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
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 |
|
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILTERS_FIELD_NUMBER
public static final int FILTERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SYNONYMS_FIELD_NUMBER
public static final int SYNONYMS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TAGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Schema getDefaultInstance()
| Returns |
| Type |
Description |
Schema |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Schema.Builder newBuilder()
newBuilder(Schema prototype)
public static Schema.Builder newBuilder(Schema prototype)
| Parameter |
| Name |
Description |
prototype |
Schema
|
public static Schema parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(byte[] data)
public static Schema parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Schema |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteString data)
public static Schema parseFrom(ByteString data)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(InputStream input)
| Returns |
| Type |
Description |
Schema |
|
public static Schema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteBuffer data)
public static Schema parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Schema |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Schema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Schema |
|
parser()
public static Parser<Schema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Schema getDefaultInstanceForType()
| Returns |
| Type |
Description |
Schema |
|
getDescription()
public String getDescription()
Optional. A textual description of the table's content and purpose.
For example: "Contains information about customer orders in our e-commerce
store." Currently only used for BigQuery data sources.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. A textual description of the table's content and purpose.
For example: "Contains information about customer orders in our e-commerce
store." Currently only used for BigQuery data sources.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
Optional. Table display_name (same as label in
cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
required, currently only Looker has this field.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Table display_name (same as label in
cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
required, currently only Looker has this field.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getFields(int index)
public Field getFields(int index)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Field |
|
getFieldsCount()
public int getFieldsCount()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getFieldsList()
public List<Field> getFieldsList()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
getFieldsOrBuilder(int index)
public FieldOrBuilder getFieldsOrBuilder(int index)
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getFieldsOrBuilderList()
public List<? extends FieldOrBuilder> getFieldsOrBuilderList()
Optional. The fields in the schema.
repeated .google.cloud.geminidataanalytics.v1beta.Field fields = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.FieldOrBuilder> |
|
getFilters(int index)
public DataFilter getFilters(int index)
Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getFiltersCount()
public int getFiltersCount()
Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getFiltersList()
public List<DataFilter> getFiltersList()
Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
getFiltersOrBuilder(int index)
public DataFilterOrBuilder getFiltersOrBuilder(int index)
Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getFiltersOrBuilderList()
public List<? extends DataFilterOrBuilder> getFiltersOrBuilderList()
Optional. The filters on the datasource's underlying data. Currently only
used for Looker data sources.
repeated .google.cloud.geminidataanalytics.v1beta.DataFilter filters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.DataFilterOrBuilder> |
|
getParserForType()
public Parser<Schema> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSynonyms(int index)
public String getSynonyms(int index)
Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: ["sales", "orders", "purchases"]. Currently only
used for BigQuery data sources.
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The synonyms at the given index.
|
getSynonymsBytes(int index)
public ByteString getSynonymsBytes(int index)
Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: ["sales", "orders", "purchases"]. Currently only
used for BigQuery data sources.
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the synonyms at the given index.
|
getSynonymsCount()
public int getSynonymsCount()
Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: ["sales", "orders", "purchases"]. Currently only
used for BigQuery data sources.
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of synonyms.
|
getSynonymsList()
public ProtocolStringList getSynonymsList()
Optional. A list of alternative names or synonyms that can be used to refer
to the table. For example: ["sales", "orders", "purchases"]. Currently only
used for BigQuery data sources.
repeated string synonyms = 3 [(.google.api.field_behavior) = OPTIONAL];
public String getTags(int index)
Optional. A list of tags or keywords associated with the table, used for
categorization. For example: ["transaction", "revenue", "customer_data"].
Currently only used for BigQuery data sources.
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The tags at the given index.
|
public ByteString getTagsBytes(int index)
Optional. A list of tags or keywords associated with the table, used for
categorization. For example: ["transaction", "revenue", "customer_data"].
Currently only used for BigQuery data sources.
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the tags at the given index.
|
public int getTagsCount()
Optional. A list of tags or keywords associated with the table, used for
categorization. For example: ["transaction", "revenue", "customer_data"].
Currently only used for BigQuery data sources.
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of tags.
|
public ProtocolStringList getTagsList()
Optional. A list of tags or keywords associated with the table, used for
categorization. For example: ["transaction", "revenue", "customer_data"].
Currently only used for BigQuery data sources.
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Schema.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Schema.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Schema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides