Class DashboardQuery.Builder (0.31.0)

public static final class DashboardQuery.Builder extends GeneratedMessage.Builder<DashboardQuery.Builder> implements DashboardQueryOrBuilder

DashboardQuery resource.

Protobuf type google.cloud.chronicle.v1.DashboardQuery

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DashboardQuery build()
Returns
Type Description
DashboardQuery

buildPartial()

public DashboardQuery buildPartial()
Returns
Type Description
DashboardQuery

clear()

public DashboardQuery.Builder clear()
Returns
Type Description
DashboardQuery.Builder
Overrides

clearDashboardChart()

public DashboardQuery.Builder clearDashboardChart()

Output only. DashboardChart this query belongs to.

string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

clearEtag()

public DashboardQuery.Builder clearEtag()

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

clearInput()

public DashboardQuery.Builder clearInput()

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DashboardQuery.Builder

clearName()

public DashboardQuery.Builder clearName()

Output only. Name of the dashboardQuery.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

clearQuery()

public DashboardQuery.Builder clearQuery()

Required. Search query string.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

getDashboardChart()

public String getDashboardChart()

Output only. DashboardChart this query belongs to.

string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dashboardChart.

getDashboardChartBytes()

public ByteString getDashboardChartBytes()

Output only. DashboardChart this query belongs to.

string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dashboardChart.

getDefaultInstanceForType()

public DashboardQuery getDefaultInstanceForType()
Returns
Type Description
DashboardQuery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getInput()

public DashboardQuery.Input getInput()

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DashboardQuery.Input

The input.

getInputBuilder()

public DashboardQuery.Input.Builder getInputBuilder()

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DashboardQuery.Input.Builder

getInputOrBuilder()

public DashboardQuery.InputOrBuilder getInputOrBuilder()

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DashboardQuery.InputOrBuilder

getName()

public String getName()

Output only. Name of the dashboardQuery.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the dashboardQuery.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getQuery()

public String getQuery()

Required. Search query string.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

Required. Search query string.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for query.

hasInput()

public boolean hasInput()

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the input field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DashboardQuery other)

public DashboardQuery.Builder mergeFrom(DashboardQuery other)
Parameter
Name Description
other DashboardQuery
Returns
Type Description
DashboardQuery.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DashboardQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardQuery.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DashboardQuery.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DashboardQuery.Builder
Overrides

mergeInput(DashboardQuery.Input value)

public DashboardQuery.Builder mergeInput(DashboardQuery.Input value)

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DashboardQuery.Input
Returns
Type Description
DashboardQuery.Builder

setDashboardChart(String value)

public DashboardQuery.Builder setDashboardChart(String value)

Output only. DashboardChart this query belongs to.

string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The dashboardChart to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

setDashboardChartBytes(ByteString value)

public DashboardQuery.Builder setDashboardChartBytes(ByteString value)

Output only. DashboardChart this query belongs to.

string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for dashboardChart to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

setEtag(String value)

public DashboardQuery.Builder setEtag(String value)

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DashboardQuery.Builder setEtagBytes(ByteString value)

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

setInput(DashboardQuery.Input value)

public DashboardQuery.Builder setInput(DashboardQuery.Input value)

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DashboardQuery.Input
Returns
Type Description
DashboardQuery.Builder

setInput(DashboardQuery.Input.Builder builderForValue)

public DashboardQuery.Builder setInput(DashboardQuery.Input.Builder builderForValue)

Required. Inputs to the query.

.google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DashboardQuery.Input.Builder
Returns
Type Description
DashboardQuery.Builder

setName(String value)

public DashboardQuery.Builder setName(String value)

Output only. Name of the dashboardQuery.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DashboardQuery.Builder setNameBytes(ByteString value)

Output only. Name of the dashboardQuery.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

setQuery(String value)

public DashboardQuery.Builder setQuery(String value)

Required. Search query string.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The query to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public DashboardQuery.Builder setQueryBytes(ByteString value)

Required. Search query string.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
DashboardQuery.Builder

This builder for chaining.