Class DuplicateNativeDashboardRequest.Builder (0.31.0)

public static final class DuplicateNativeDashboardRequest.Builder extends GeneratedMessage.Builder<DuplicateNativeDashboardRequest.Builder> implements DuplicateNativeDashboardRequestOrBuilder

Request message to duplicate a dashboard.

Protobuf type google.cloud.chronicle.v1.DuplicateNativeDashboardRequest

Static Methods

getDescriptor()

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

Methods

build()

public DuplicateNativeDashboardRequest build()
Returns
Type Description
DuplicateNativeDashboardRequest

buildPartial()

public DuplicateNativeDashboardRequest buildPartial()
Returns
Type Description
DuplicateNativeDashboardRequest

clear()

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

clearName()

public DuplicateNativeDashboardRequest.Builder clearName()

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

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

Returns
Type Description
DuplicateNativeDashboardRequest.Builder

This builder for chaining.

clearNativeDashboard()

public DuplicateNativeDashboardRequest.Builder clearNativeDashboard()

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DuplicateNativeDashboardRequest.Builder

getDefaultInstanceForType()

public DuplicateNativeDashboardRequest getDefaultInstanceForType()
Returns
Type Description
DuplicateNativeDashboardRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The dashboard name to duplicate. 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 duplicate. 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.

getNativeDashboard()

public NativeDashboard getNativeDashboard()

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NativeDashboard

The nativeDashboard.

getNativeDashboardBuilder()

public NativeDashboard.Builder getNativeDashboardBuilder()

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NativeDashboard.Builder

getNativeDashboardOrBuilder()

public NativeDashboardOrBuilder getNativeDashboardOrBuilder()

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NativeDashboardOrBuilder

hasNativeDashboard()

public boolean hasNativeDashboard()

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

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

mergeFrom(DuplicateNativeDashboardRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNativeDashboard(NativeDashboard value)

public DuplicateNativeDashboardRequest.Builder mergeNativeDashboard(NativeDashboard value)

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NativeDashboard
Returns
Type Description
DuplicateNativeDashboardRequest.Builder

setName(String value)

public DuplicateNativeDashboardRequest.Builder setName(String value)

Required. The dashboard name to duplicate. 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
DuplicateNativeDashboardRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DuplicateNativeDashboardRequest.Builder setNameBytes(ByteString value)

Required. The dashboard name to duplicate. 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
DuplicateNativeDashboardRequest.Builder

This builder for chaining.

setNativeDashboard(NativeDashboard value)

public DuplicateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard value)

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NativeDashboard
Returns
Type Description
DuplicateNativeDashboardRequest.Builder

setNativeDashboard(NativeDashboard.Builder builderForValue)

public DuplicateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard.Builder builderForValue)

Required. Any fields that need modification can be passed through this like name, description etc.

.google.cloud.chronicle.v1.NativeDashboard native_dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

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