public static final class LookerQuery.Builder extends GeneratedMessage.Builder<LookerQuery.Builder> implements LookerQueryOrBuilderLooker Query Object Looker API documentation.
Protobuf type google.cloud.geminidataanalytics.v1.LookerQuery
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LookerQuery.BuilderImplements
LookerQueryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFields(Iterable<String> values)
public LookerQuery.Builder addAllFields(Iterable<String> values)Optional. The fields to retrieve from the explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The fields to add. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
addAllFilters(Iterable<? extends LookerQuery.Filter> values)
public LookerQuery.Builder addAllFilters(Iterable<? extends LookerQuery.Filter> values)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1.LookerQuery.Filter> |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
addAllSorts(Iterable<String> values)
public LookerQuery.Builder addAllSorts(Iterable<String> values)Optional. The sorts to apply to the explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The sorts to add. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
addFields(String value)
public LookerQuery.Builder addFields(String value)Optional. The fields to retrieve from the explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fields to add. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
addFieldsBytes(ByteString value)
public LookerQuery.Builder addFieldsBytes(ByteString value)Optional. The fields to retrieve from the explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the fields to add. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
addFilters(LookerQuery.Filter value)
public LookerQuery.Builder addFilters(LookerQuery.Filter value)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
LookerQuery.Filter |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
addFilters(LookerQuery.Filter.Builder builderForValue)
public LookerQuery.Builder addFilters(LookerQuery.Filter.Builder builderForValue)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LookerQuery.Filter.Builder |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
addFilters(int index, LookerQuery.Filter value)
public LookerQuery.Builder addFilters(int index, LookerQuery.Filter value)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LookerQuery.Filter |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
addFilters(int index, LookerQuery.Filter.Builder builderForValue)
public LookerQuery.Builder addFilters(int index, LookerQuery.Filter.Builder builderForValue)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LookerQuery.Filter.Builder |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
addFiltersBuilder()
public LookerQuery.Filter.Builder addFiltersBuilder()Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Filter.Builder |
|
addFiltersBuilder(int index)
public LookerQuery.Filter.Builder addFiltersBuilder(int index)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Filter.Builder |
|
addSorts(String value)
public LookerQuery.Builder addSorts(String value)Optional. The sorts to apply to the explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sorts to add. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
addSortsBytes(ByteString value)
public LookerQuery.Builder addSortsBytes(ByteString value)Optional. The sorts to apply to the explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the sorts to add. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
build()
public LookerQuery build()| Returns | |
|---|---|
| Type | Description |
LookerQuery |
|
buildPartial()
public LookerQuery buildPartial()| Returns | |
|---|---|
| Type | Description |
LookerQuery |
|
clear()
public LookerQuery.Builder clear()| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
clearClientId()
public LookerQuery.Builder clearClientId() Optional. The short alphanumeric identifier for the query, used for share
links and Explore URLs (e.g., in the qid parameter). Maps to client_id
in the Looker API Query resource.
optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
clearExplore()
public LookerQuery.Builder clearExplore()Required. The LookML explore used to generate the query.
string explore = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
clearFields()
public LookerQuery.Builder clearFields()Optional. The fields to retrieve from the explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
clearFilters()
public LookerQuery.Builder clearFilters()Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
clearLimit()
public LookerQuery.Builder clearLimit()Optional. Limit in the query.
optional string limit = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
clearModel()
public LookerQuery.Builder clearModel()Required. The LookML model used to generate the query.
string model = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
clearQueryId()
public LookerQuery.Builder clearQueryId() Optional. The primary identifier for the query resource in Looker, used for
API operations. Maps to id (or slug) in the Looker API Query
resource.
optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
clearSorts()
public LookerQuery.Builder clearSorts()Optional. The sorts to apply to the explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
getClientId()
public String getClientId() Optional. The short alphanumeric identifier for the query, used for share
links and Explore URLs (e.g., in the qid parameter). Maps to client_id
in the Looker API Query resource.
optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The clientId. |
getClientIdBytes()
public ByteString getClientIdBytes() Optional. The short alphanumeric identifier for the query, used for share
links and Explore URLs (e.g., in the qid parameter). Maps to client_id
in the Looker API Query resource.
optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientId. |
getDefaultInstanceForType()
public LookerQuery getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LookerQuery |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the fields. |
getFilters(int index)
public LookerQuery.Filter getFilters(int index)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Filter |
|
getFiltersBuilder(int index)
public LookerQuery.Filter.Builder getFiltersBuilder(int index)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Filter.Builder |
|
getFiltersBuilderList()
public List<LookerQuery.Filter.Builder> getFiltersBuilderList()Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getFiltersCount()
public int getFiltersCount()Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.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.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Filter> |
|
getFiltersOrBuilder(int index)
public LookerQuery.FilterOrBuilder getFiltersOrBuilder(int index)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.FilterOrBuilder |
|
getFiltersOrBuilderList()
public List<? extends LookerQuery.FilterOrBuilder> getFiltersOrBuilderList()Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1.LookerQuery.FilterOrBuilder> |
|
getLimit()
public String 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()
public String 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. |
getQueryId()
public String getQueryId() Optional. The primary identifier for the query resource in Looker, used for
API operations. Maps to id (or slug) in the Looker API Query
resource.
optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The queryId. |
getQueryIdBytes()
public ByteString getQueryIdBytes() Optional. The primary identifier for the query resource in Looker, used for
API operations. Maps to id (or slug) in the Looker API Query
resource.
optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for queryId. |
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 |
intThe 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 |
intThe 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the sorts. |
hasClientId()
public boolean hasClientId() Optional. The short alphanumeric identifier for the query, used for share
links and Explore URLs (e.g., in the qid parameter). Maps to client_id
in the Looker API Query resource.
optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the clientId field is set. |
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. |
hasQueryId()
public boolean hasQueryId() Optional. The primary identifier for the query resource in Looker, used for
API operations. Maps to id (or slug) in the Looker API Query
resource.
optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queryId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LookerQuery other)
public LookerQuery.Builder mergeFrom(LookerQuery other)| Parameter | |
|---|---|
| Name | Description |
other |
LookerQuery |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookerQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LookerQuery.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
removeFilters(int index)
public LookerQuery.Builder removeFilters(int index)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
setClientId(String value)
public LookerQuery.Builder setClientId(String value) Optional. The short alphanumeric identifier for the query, used for share
links and Explore URLs (e.g., in the qid parameter). Maps to client_id
in the Looker API Query resource.
optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientId to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setClientIdBytes(ByteString value)
public LookerQuery.Builder setClientIdBytes(ByteString value) Optional. The short alphanumeric identifier for the query, used for share
links and Explore URLs (e.g., in the qid parameter). Maps to client_id
in the Looker API Query resource.
optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientId to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setExplore(String value)
public LookerQuery.Builder setExplore(String value)Required. The LookML explore used to generate the query.
string explore = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe explore to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setExploreBytes(ByteString value)
public LookerQuery.Builder setExploreBytes(ByteString value)Required. The LookML explore used to generate the query.
string explore = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for explore to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setFields(int index, String value)
public LookerQuery.Builder setFields(int index, String value)Optional. The fields to retrieve from the explore.
repeated string fields = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe fields to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setFilters(int index, LookerQuery.Filter value)
public LookerQuery.Builder setFilters(int index, LookerQuery.Filter value)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LookerQuery.Filter |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
setFilters(int index, LookerQuery.Filter.Builder builderForValue)
public LookerQuery.Builder setFilters(int index, LookerQuery.Filter.Builder builderForValue)Optional. The filters to apply to the explore.
repeated .google.cloud.geminidataanalytics.v1.LookerQuery.Filter filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LookerQuery.Filter.Builder |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
|
setLimit(String value)
public LookerQuery.Builder setLimit(String value)Optional. Limit in the query.
optional string limit = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe limit to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setLimitBytes(ByteString value)
public LookerQuery.Builder setLimitBytes(ByteString value)Optional. Limit in the query.
optional string limit = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for limit to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setModel(String value)
public LookerQuery.Builder setModel(String value)Required. The LookML model used to generate the query.
string model = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe model to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setModelBytes(ByteString value)
public LookerQuery.Builder setModelBytes(ByteString value)Required. The LookML model used to generate the query.
string model = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for model to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setQueryId(String value)
public LookerQuery.Builder setQueryId(String value) Optional. The primary identifier for the query resource in Looker, used for
API operations. Maps to id (or slug) in the Looker API Query
resource.
optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe queryId to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setQueryIdBytes(ByteString value)
public LookerQuery.Builder setQueryIdBytes(ByteString value) Optional. The primary identifier for the query resource in Looker, used for
API operations. Maps to id (or slug) in the Looker API Query
resource.
optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for queryId to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |
setSorts(int index, String value)
public LookerQuery.Builder setSorts(int index, String value)Optional. The sorts to apply to the explore.
repeated string sorts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe sorts to set. |
| Returns | |
|---|---|
| Type | Description |
LookerQuery.Builder |
This builder for chaining. |