Class CreateNativeDashboardRequest.Builder (0.31.0)

public static final class CreateNativeDashboardRequest.Builder extends GeneratedMessage.Builder<CreateNativeDashboardRequest.Builder> implements CreateNativeDashboardRequestOrBuilder

Request message to create a dashboard.

Protobuf type google.cloud.chronicle.v1.CreateNativeDashboardRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateNativeDashboardRequest build()
Returns
Type Description
CreateNativeDashboardRequest

buildPartial()

public CreateNativeDashboardRequest buildPartial()
Returns
Type Description
CreateNativeDashboardRequest

clear()

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

clearNativeDashboard()

public CreateNativeDashboardRequest.Builder clearNativeDashboard()

Required. The dashboard to create.

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

Returns
Type Description
CreateNativeDashboardRequest.Builder

clearParent()

public CreateNativeDashboardRequest.Builder clearParent()

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
CreateNativeDashboardRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateNativeDashboardRequest getDefaultInstanceForType()
Returns
Type Description
CreateNativeDashboardRequest

getDescriptorForType()

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

getNativeDashboard()

public NativeDashboard getNativeDashboard()

Required. The dashboard to create.

.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. The dashboard to create.

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

Returns
Type Description
NativeDashboard.Builder

getNativeDashboardOrBuilder()

public NativeDashboardOrBuilder getNativeDashboardOrBuilder()

Required. The dashboard to create.

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

Returns
Type Description
NativeDashboardOrBuilder

getParent()

public String getParent()

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
ByteString

The bytes for parent.

hasNativeDashboard()

public boolean hasNativeDashboard()

Required. The dashboard to create.

.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(CreateNativeDashboardRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNativeDashboard(NativeDashboard value)

public CreateNativeDashboardRequest.Builder mergeNativeDashboard(NativeDashboard value)

Required. The dashboard to create.

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

Parameter
Name Description
value NativeDashboard
Returns
Type Description
CreateNativeDashboardRequest.Builder

setNativeDashboard(NativeDashboard value)

public CreateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard value)

Required. The dashboard to create.

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

Parameter
Name Description
value NativeDashboard
Returns
Type Description
CreateNativeDashboardRequest.Builder

setNativeDashboard(NativeDashboard.Builder builderForValue)

public CreateNativeDashboardRequest.Builder setNativeDashboard(NativeDashboard.Builder builderForValue)

Required. The dashboard to create.

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

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

setParent(String value)

public CreateNativeDashboardRequest.Builder setParent(String value)

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateNativeDashboardRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateNativeDashboardRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateNativeDashboardRequest.Builder

This builder for chaining.