public static final class DuplicateChartRequest.Builder extends GeneratedMessage.Builder<DuplicateChartRequest.Builder> implements DuplicateChartRequestOrBuilderRequest message to duplicate chart in a dashboard.
Protobuf type google.cloud.chronicle.v1.DuplicateChartRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DuplicateChartRequest.BuilderImplements
DuplicateChartRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DuplicateChartRequest build()| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest |
|
buildPartial()
public DuplicateChartRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest |
|
clear()
public DuplicateChartRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
|
clearDashboardChart()
public DuplicateChartRequest.Builder clearDashboardChart()Required. The dashboard chart name to duplicate.
string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
This builder for chaining. |
clearName()
public DuplicateChartRequest.Builder clearName()Required. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
This builder for chaining. |
getDashboardChart()
public String getDashboardChart()Required. The dashboard chart name to duplicate.
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 duplicate.
string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dashboardChart. |
getDefaultInstanceForType()
public DuplicateChartRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The dashboard name that involves chart duplication. 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 that involves chart duplication. 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DuplicateChartRequest other)
public DuplicateChartRequest.Builder mergeFrom(DuplicateChartRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DuplicateChartRequest |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DuplicateChartRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DuplicateChartRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
|
setDashboardChart(String value)
public DuplicateChartRequest.Builder setDashboardChart(String value)Required. The dashboard chart name to duplicate.
string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dashboardChart to set. |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
This builder for chaining. |
setDashboardChartBytes(ByteString value)
public DuplicateChartRequest.Builder setDashboardChartBytes(ByteString value)Required. The dashboard chart name to duplicate.
string dashboard_chart = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dashboardChart to set. |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
This builder for chaining. |
setName(String value)
public DuplicateChartRequest.Builder setName(String value)Required. The dashboard name that involves chart duplication. 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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DuplicateChartRequest.Builder setNameBytes(ByteString value)Required. The dashboard name that involves chart duplication. 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartRequest.Builder |
This builder for chaining. |