Class DashboardChart.ChartDatasource (0.31.0)

public static final class DashboardChart.ChartDatasource extends GeneratedMessage implements DashboardChart.ChartDatasourceOrBuilder

Datasource of the chart including the query reference and source name.

Protobuf type google.cloud.chronicle.v1.DashboardChart.ChartDatasource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DashboardChart.ChartDatasource

Static Fields

DASHBOARD_QUERY_FIELD_NUMBER

public static final int DASHBOARD_QUERY_FIELD_NUMBER
Field Value
Type Description
int

DATA_SOURCES_FIELD_NUMBER

public static final int DATA_SOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DashboardChart.ChartDatasource getDefaultInstance()
Returns
Type Description
DashboardChart.ChartDatasource

getDescriptor()

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

newBuilder()

public static DashboardChart.ChartDatasource.Builder newBuilder()
Returns
Type Description
DashboardChart.ChartDatasource.Builder

newBuilder(DashboardChart.ChartDatasource prototype)

public static DashboardChart.ChartDatasource.Builder newBuilder(DashboardChart.ChartDatasource prototype)
Parameter
Name Description
prototype DashboardChart.ChartDatasource
Returns
Type Description
DashboardChart.ChartDatasource.Builder

parseDelimitedFrom(InputStream input)

public static DashboardChart.ChartDatasource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DashboardChart.ChartDatasource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DashboardChart.ChartDatasource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DashboardChart.ChartDatasource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DashboardChart.ChartDatasource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DashboardChart.ChartDatasource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DashboardChart.ChartDatasource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DashboardChart.ChartDatasource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DashboardChart.ChartDatasource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DashboardChart.ChartDatasource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DashboardChart.ChartDatasource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DashboardChart.ChartDatasource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardChart.ChartDatasource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DashboardChart.ChartDatasource> parser()
Returns
Type Description
Parser<ChartDatasource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDashboardQuery()

public String getDashboardQuery()

Reference to dashboard query resource used in the chart.

string dashboard_query = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dashboardQuery.

getDashboardQueryBytes()

public ByteString getDashboardQueryBytes()

Reference to dashboard query resource used in the chart.

string dashboard_query = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dashboardQuery.

getDataSources(int index)

public DataSource getDataSources(int index)

Name of the datasource used in the chart.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
DataSource

The dataSources at the given index.

getDataSourcesCount()

public int getDataSourcesCount()

Name of the datasource used in the chart.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Returns
Type Description
int

The count of dataSources.

getDataSourcesList()

public List<DataSource> getDataSourcesList()

Name of the datasource used in the chart.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Returns
Type Description
List<DataSource>

A list containing the dataSources.

getDataSourcesValue(int index)

public int getDataSourcesValue(int index)

Name of the datasource used in the chart.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of dataSources at the given index.

getDataSourcesValueList()

public List<Integer> getDataSourcesValueList()

Name of the datasource used in the chart.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for dataSources.

getDefaultInstanceForType()

public DashboardChart.ChartDatasource getDefaultInstanceForType()
Returns
Type Description
DashboardChart.ChartDatasource

getParserForType()

public Parser<DashboardChart.ChartDatasource> getParserForType()
Returns
Type Description
Parser<ChartDatasource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DashboardChart.ChartDatasource.Builder newBuilderForType()
Returns
Type Description
DashboardChart.ChartDatasource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DashboardChart.ChartDatasource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DashboardChart.ChartDatasource.Builder
Overrides

toBuilder()

public DashboardChart.ChartDatasource.Builder toBuilder()
Returns
Type Description
DashboardChart.ChartDatasource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException