Class GetDashboardRequest.Builder (2.39.0)

public static final class GetDashboardRequest.Builder extends GeneratedMessageV3.Builder<GetDashboardRequest.Builder> implements GetDashboardRequestOrBuilder

The GetDashboard request.

Protobuf type google.monitoring.dashboard.v1.GetDashboardRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetDashboardRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

build()

public GetDashboardRequest build()
Returns
TypeDescription
GetDashboardRequest

buildPartial()

public GetDashboardRequest buildPartial()
Returns
TypeDescription
GetDashboardRequest

clear()

public GetDashboardRequest.Builder clear()
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetDashboardRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

clearName()

public GetDashboardRequest.Builder clearName()

Required. The resource name of the Dashboard. The format is one of:

  • dashboards/[DASHBOARD_ID] (for system dashboards)
  • projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards).

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

Returns
TypeDescription
GetDashboardRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetDashboardRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

clone()

public GetDashboardRequest.Builder clone()
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

getDefaultInstanceForType()

public GetDashboardRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDashboardRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the Dashboard. The format is one of:

  • dashboards/[DASHBOARD_ID] (for system dashboards)
  • projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards).

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the Dashboard. The format is one of:

  • dashboards/[DASHBOARD_ID] (for system dashboards)
  • projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards).

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetDashboardRequest other)

public GetDashboardRequest.Builder mergeFrom(GetDashboardRequest other)
Parameter
NameDescription
otherGetDashboardRequest
Returns
TypeDescription
GetDashboardRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetDashboardRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetDashboardRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetDashboardRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetDashboardRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

setName(String value)

public GetDashboardRequest.Builder setName(String value)

Required. The resource name of the Dashboard. The format is one of:

  • dashboards/[DASHBOARD_ID] (for system dashboards)
  • projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards).

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetDashboardRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDashboardRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the Dashboard. The format is one of:

  • dashboards/[DASHBOARD_ID] (for system dashboards)
  • projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards).

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetDashboardRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetDashboardRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetDashboardRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetDashboardRequest.Builder
Overrides