Class AddChartResponse.Builder (0.31.0)

public static final class AddChartResponse.Builder extends GeneratedMessage.Builder<AddChartResponse.Builder> implements AddChartResponseOrBuilder

Response message for adding chart in a dashboard.

Protobuf type google.cloud.chronicle.v1.AddChartResponse

Static Methods

getDescriptor()

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

Methods

build()

public AddChartResponse build()
Returns
Type Description
AddChartResponse

buildPartial()

public AddChartResponse buildPartial()
Returns
Type Description
AddChartResponse

clear()

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

clearDashboardChart()

public AddChartResponse.Builder clearDashboardChart()

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Returns
Type Description
AddChartResponse.Builder

clearNativeDashboard()

public AddChartResponse.Builder clearNativeDashboard()

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Returns
Type Description
AddChartResponse.Builder

getDashboardChart()

public DashboardChart getDashboardChart()

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Returns
Type Description
DashboardChart

The dashboardChart.

getDashboardChartBuilder()

public DashboardChart.Builder getDashboardChartBuilder()

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Returns
Type Description
DashboardChart.Builder

getDashboardChartOrBuilder()

public DashboardChartOrBuilder getDashboardChartOrBuilder()

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Returns
Type Description
DashboardChartOrBuilder

getDefaultInstanceForType()

public AddChartResponse getDefaultInstanceForType()
Returns
Type Description
AddChartResponse

getDescriptorForType()

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

getNativeDashboard()

public NativeDashboard getNativeDashboard()

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Returns
Type Description
NativeDashboard

The nativeDashboard.

getNativeDashboardBuilder()

public NativeDashboard.Builder getNativeDashboardBuilder()

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Returns
Type Description
NativeDashboard.Builder

getNativeDashboardOrBuilder()

public NativeDashboardOrBuilder getNativeDashboardOrBuilder()

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Returns
Type Description
NativeDashboardOrBuilder

hasDashboardChart()

public boolean hasDashboardChart()

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Returns
Type Description
boolean

Whether the dashboardChart field is set.

hasNativeDashboard()

public boolean hasNativeDashboard()

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Returns
Type Description
boolean

Whether the nativeDashboard field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDashboardChart(DashboardChart value)

public AddChartResponse.Builder mergeDashboardChart(DashboardChart value)

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Parameter
Name Description
value DashboardChart
Returns
Type Description
AddChartResponse.Builder

mergeFrom(AddChartResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNativeDashboard(NativeDashboard value)

public AddChartResponse.Builder mergeNativeDashboard(NativeDashboard value)

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Parameter
Name Description
value NativeDashboard
Returns
Type Description
AddChartResponse.Builder

setDashboardChart(DashboardChart value)

public AddChartResponse.Builder setDashboardChart(DashboardChart value)

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Parameter
Name Description
value DashboardChart
Returns
Type Description
AddChartResponse.Builder

setDashboardChart(DashboardChart.Builder builderForValue)

public AddChartResponse.Builder setDashboardChart(DashboardChart.Builder builderForValue)

Created chart resource.

.google.cloud.chronicle.v1.DashboardChart dashboard_chart = 2;

Parameter
Name Description
builderForValue DashboardChart.Builder
Returns
Type Description
AddChartResponse.Builder

setNativeDashboard(NativeDashboard value)

public AddChartResponse.Builder setNativeDashboard(NativeDashboard value)

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Parameter
Name Description
value NativeDashboard
Returns
Type Description
AddChartResponse.Builder

setNativeDashboard(NativeDashboard.Builder builderForValue)

public AddChartResponse.Builder setNativeDashboard(NativeDashboard.Builder builderForValue)

Dashboard with chart added in definition.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 1;

Parameter
Name Description
builderForValue NativeDashboard.Builder
Returns
Type Description
AddChartResponse.Builder