public static final class GetNativeDashboardRequest.Builder extends GeneratedMessage.Builder<GetNativeDashboardRequest.Builder> implements GetNativeDashboardRequestOrBuilderRequest message to get a dashboard.
Protobuf type google.cloud.chronicle.v1.GetNativeDashboardRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetNativeDashboardRequest.BuilderImplements
GetNativeDashboardRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetNativeDashboardRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetNativeDashboardRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
NativeDashboardViewThe 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 |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetNativeDashboardRequest.Builder |
This builder for chaining. |