public final class LookerQuery extends GeneratedMessageV3 implements LookerQueryOrBuilder
A query for retrieving data from a Looker Explore. See
Run Inline
Query.
Protobuf type google.cloud.geminidataanalytics.v1beta.LookerQuery
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
EXPLORE_FIELD_NUMBER
public static final int EXPLORE_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 |
|
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SORTS_FIELD_NUMBER
public static final int SORTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LookerQuery getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LookerQuery.Builder newBuilder()
newBuilder(LookerQuery prototype)
public static LookerQuery.Builder newBuilder(LookerQuery prototype)
public static LookerQuery parseDelimitedFrom(InputStream input)
public static LookerQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LookerQuery parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LookerQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LookerQuery parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LookerQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LookerQuery parseFrom(CodedInputStream input)
public static LookerQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LookerQuery parseFrom(InputStream input)
public static LookerQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LookerQuery parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LookerQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LookerQuery> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LookerQuery getDefaultInstanceForType()
getExplore()
public String getExplore()
Required. The LookML Explore used to generate the query.
string explore = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The explore.
|
getExploreBytes()
public ByteString getExploreBytes()
Required. The LookML Explore used to generate the query.
string explore = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for explore.
|
getFields(int index)
public String getFields(int index)
Optional. The fields to retrieve from the Explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The fields at the given index.
|
getFieldsBytes(int index)
public ByteString getFieldsBytes(int index)
Optional. The fields to retrieve from the Explore.
repeated string fields = 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 fields at the given index.
|
getFieldsCount()
public int getFieldsCount()
Optional. The fields to retrieve from the Explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of fields.
|
getFieldsList()
public ProtocolStringList getFieldsList()
Optional. The fields to retrieve from the Explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
getFilters(int index)
public LookerQuery.Filter getFilters(int index)
Optional. The filters to apply to the Explore.
repeated .google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFiltersCount()
public int getFiltersCount()
Optional. The filters to apply to the Explore.
repeated .google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getFiltersList()
public List<LookerQuery.Filter> getFiltersList()
Optional. The filters to apply to the Explore.
repeated .google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
getFiltersOrBuilder(int index)
public LookerQuery.FilterOrBuilder getFiltersOrBuilder(int index)
Optional. The filters to apply to the Explore.
repeated .google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFiltersOrBuilderList()
public List<? extends LookerQuery.FilterOrBuilder> getFiltersOrBuilderList()
Optional. The filters to apply to the Explore.
repeated .google.cloud.geminidataanalytics.v1beta.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterOrBuilder> |
|
getLimit()
Optional. Limit in the query.
optional string limit = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The limit.
|
getLimitBytes()
public ByteString getLimitBytes()
Optional. Limit in the query.
optional string limit = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for limit.
|
getModel()
Required. The LookML model used to generate the query.
string model = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The model.
|
getModelBytes()
public ByteString getModelBytes()
Required. The LookML model used to generate the query.
string model = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for model.
|
getParserForType()
public Parser<LookerQuery> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSorts(int index)
public String getSorts(int index)
Optional. The sorts to apply to the Explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The sorts at the given index.
|
getSortsBytes(int index)
public ByteString getSortsBytes(int index)
Optional. The sorts to apply to the Explore.
repeated string sorts = 5 [(.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 sorts at the given index.
|
getSortsCount()
public int getSortsCount()
Optional. The sorts to apply to the Explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of sorts.
|
getSortsList()
public ProtocolStringList getSortsList()
Optional. The sorts to apply to the Explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
hasLimit()
public boolean hasLimit()
Optional. Limit in the query.
optional string limit = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the limit field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LookerQuery.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LookerQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LookerQuery.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides