Class RemoveChartRequest.Builder (0.31.0)

public static final class RemoveChartRequest.Builder extends GeneratedMessage.Builder<RemoveChartRequest.Builder> implements RemoveChartRequestOrBuilder

Request message to remove chart from a dashboard.

Protobuf type google.cloud.chronicle.v1.RemoveChartRequest

Static Methods

getDescriptor()

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

Methods

build()

public RemoveChartRequest build()
Returns
Type Description
RemoveChartRequest

buildPartial()

public RemoveChartRequest buildPartial()
Returns
Type Description
RemoveChartRequest

clear()

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

clearDashboardChart()

public RemoveChartRequest.Builder clearDashboardChart()

Required. The dashboard chart name to remove.

string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
RemoveChartRequest.Builder

This builder for chaining.

clearName()

public RemoveChartRequest.Builder clearName()

Required. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

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

Returns
Type Description
RemoveChartRequest.Builder

This builder for chaining.

getDashboardChart()

public String getDashboardChart()

Required. The dashboard chart name to remove.

string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dashboardChart.

getDashboardChartBytes()

public ByteString getDashboardChartBytes()

Required. The dashboard chart name to remove.

string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dashboardChart.

getDefaultInstanceForType()

public RemoveChartRequest getDefaultInstanceForType()
Returns
Type Description
RemoveChartRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoveChartRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDashboardChart(String value)

public RemoveChartRequest.Builder setDashboardChart(String value)

Required. The dashboard chart name to remove.

string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The dashboardChart to set.

Returns
Type Description
RemoveChartRequest.Builder

This builder for chaining.

setDashboardChartBytes(ByteString value)

public RemoveChartRequest.Builder setDashboardChartBytes(ByteString value)

Required. The dashboard chart name to remove.

string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for dashboardChart to set.

Returns
Type Description
RemoveChartRequest.Builder

This builder for chaining.

setName(String value)

public RemoveChartRequest.Builder setName(String value)

Required. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RemoveChartRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RemoveChartRequest.Builder setNameBytes(ByteString value)

Required. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RemoveChartRequest.Builder

This builder for chaining.