public final class Schema extends GeneratedMessageV3 implements SchemaOrBuilder
The schema of a Datasource or QueryResult instance.
Protobuf type google.cloud.geminidataanalytics.v1beta.Schema
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(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."
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."
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"]
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"]
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"]
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"]
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"]
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"]
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"]
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"]
repeated string tags = 4 [(.google.api.field_behavior) = OPTIONAL];
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Schema.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Schema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Schema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides