Class ImportNativeDashboardsInlineSource.Builder (0.31.0)

public static final class ImportNativeDashboardsInlineSource.Builder extends GeneratedMessage.Builder<ImportNativeDashboardsInlineSource.Builder> implements ImportNativeDashboardsInlineSourceOrBuilder

Inline source for importing dashboards.

Protobuf type google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource

Static Methods

getDescriptor()

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

Methods

addAllDashboards(Iterable<? extends NativeDashboardWithChartsAndQueries> values)

public ImportNativeDashboardsInlineSource.Builder addAllDashboards(Iterable<? extends NativeDashboardWithChartsAndQueries> values)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries>
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

addDashboards(NativeDashboardWithChartsAndQueries value)

public ImportNativeDashboardsInlineSource.Builder addDashboards(NativeDashboardWithChartsAndQueries value)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NativeDashboardWithChartsAndQueries
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

addDashboards(NativeDashboardWithChartsAndQueries.Builder builderForValue)

public ImportNativeDashboardsInlineSource.Builder addDashboards(NativeDashboardWithChartsAndQueries.Builder builderForValue)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NativeDashboardWithChartsAndQueries.Builder
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

addDashboards(int index, NativeDashboardWithChartsAndQueries value)

public ImportNativeDashboardsInlineSource.Builder addDashboards(int index, NativeDashboardWithChartsAndQueries value)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value NativeDashboardWithChartsAndQueries
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

addDashboards(int index, NativeDashboardWithChartsAndQueries.Builder builderForValue)

public ImportNativeDashboardsInlineSource.Builder addDashboards(int index, NativeDashboardWithChartsAndQueries.Builder builderForValue)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue NativeDashboardWithChartsAndQueries.Builder
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

addDashboardsBuilder()

public NativeDashboardWithChartsAndQueries.Builder addDashboardsBuilder()

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NativeDashboardWithChartsAndQueries.Builder

addDashboardsBuilder(int index)

public NativeDashboardWithChartsAndQueries.Builder addDashboardsBuilder(int index)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NativeDashboardWithChartsAndQueries.Builder

build()

public ImportNativeDashboardsInlineSource build()
Returns
Type Description
ImportNativeDashboardsInlineSource

buildPartial()

public ImportNativeDashboardsInlineSource buildPartial()
Returns
Type Description
ImportNativeDashboardsInlineSource

clear()

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

clearDashboards()

public ImportNativeDashboardsInlineSource.Builder clearDashboards()

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

getDashboards(int index)

public NativeDashboardWithChartsAndQueries getDashboards(int index)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NativeDashboardWithChartsAndQueries

getDashboardsBuilder(int index)

public NativeDashboardWithChartsAndQueries.Builder getDashboardsBuilder(int index)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NativeDashboardWithChartsAndQueries.Builder

getDashboardsBuilderList()

public List<NativeDashboardWithChartsAndQueries.Builder> getDashboardsBuilderList()

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getDashboardsCount()

public int getDashboardsCount()

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getDashboardsList()

public List<NativeDashboardWithChartsAndQueries> getDashboardsList()

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<NativeDashboardWithChartsAndQueries>

getDashboardsOrBuilder(int index)

public NativeDashboardWithChartsAndQueriesOrBuilder getDashboardsOrBuilder(int index)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
NativeDashboardWithChartsAndQueriesOrBuilder

getDashboardsOrBuilderList()

public List<? extends NativeDashboardWithChartsAndQueriesOrBuilder> getDashboardsOrBuilderList()

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueriesOrBuilder>

getDefaultInstanceForType()

public ImportNativeDashboardsInlineSource getDefaultInstanceForType()
Returns
Type Description
ImportNativeDashboardsInlineSource

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportNativeDashboardsInlineSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDashboards(int index)

public ImportNativeDashboardsInlineSource.Builder removeDashboards(int index)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

setDashboards(int index, NativeDashboardWithChartsAndQueries value)

public ImportNativeDashboardsInlineSource.Builder setDashboards(int index, NativeDashboardWithChartsAndQueries value)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value NativeDashboardWithChartsAndQueries
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder

setDashboards(int index, NativeDashboardWithChartsAndQueries.Builder builderForValue)

public ImportNativeDashboardsInlineSource.Builder setDashboards(int index, NativeDashboardWithChartsAndQueries.Builder builderForValue)

Required. Dashboards with charts and queries.

repeated .google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries dashboards = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue NativeDashboardWithChartsAndQueries.Builder
Returns
Type Description
ImportNativeDashboardsInlineSource.Builder