Class GetNativeDashboardRequest.Builder (0.31.0)

public static final class GetNativeDashboardRequest.Builder extends GeneratedMessage.Builder<GetNativeDashboardRequest.Builder> implements GetNativeDashboardRequestOrBuilder

Request message to get a dashboard.

Protobuf type google.cloud.chronicle.v1.GetNativeDashboardRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetNativeDashboardRequest build()
Returns
Type Description
GetNativeDashboardRequest

buildPartial()

public GetNativeDashboardRequest buildPartial()
Returns
Type Description
GetNativeDashboardRequest

clear()

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

clearName()

public GetNativeDashboardRequest.Builder clearName()

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

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

Returns
Type Description
GetNativeDashboardRequest.Builder

This builder for chaining.

clearView()

public GetNativeDashboardRequest.Builder clearView()

Optional. View indicates the scope of fields to populate when returning the dashboard resource. If unspecified, defaults to the basic view.

.google.cloud.chronicle.v1.NativeDashboardView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GetNativeDashboardRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetNativeDashboardRequest getDefaultInstanceForType()
Returns
Type Description
GetNativeDashboardRequest

getDescriptorForType()

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

getName()

public String getName()

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

getView()

public NativeDashboardView getView()

Optional. View indicates the scope of fields to populate when returning the dashboard resource. If unspecified, defaults to the basic view.

.google.cloud.chronicle.v1.NativeDashboardView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NativeDashboardView

The view.

getViewValue()

public int getViewValue()

Optional. View indicates the scope of fields to populate when returning the dashboard resource. If unspecified, defaults to the basic view.

.google.cloud.chronicle.v1.NativeDashboardView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetNativeDashboardRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetNativeDashboardRequest.Builder setName(String value)

Required. The dashboard name to fetch. 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
GetNativeDashboardRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetNativeDashboardRequest.Builder setNameBytes(ByteString value)

Required. The dashboard name to fetch. 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
GetNativeDashboardRequest.Builder

This builder for chaining.

setView(NativeDashboardView value)

public GetNativeDashboardRequest.Builder setView(NativeDashboardView value)

Optional. View indicates the scope of fields to populate when returning the dashboard resource. If unspecified, defaults to the basic view.

.google.cloud.chronicle.v1.NativeDashboardView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NativeDashboardView

The view to set.

Returns
Type Description
GetNativeDashboardRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetNativeDashboardRequest.Builder setViewValue(int value)

Optional. View indicates the scope of fields to populate when returning the dashboard resource. If unspecified, defaults to the basic view.

.google.cloud.chronicle.v1.NativeDashboardView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetNativeDashboardRequest.Builder

This builder for chaining.