Class UpdateDashboardRequest (2.57.0)

public final class UpdateDashboardRequest extends GeneratedMessageV3 implements UpdateDashboardRequestOrBuilder

The UpdateDashboard request.

Protobuf type google.monitoring.dashboard.v1.UpdateDashboardRequest

Static Fields

DASHBOARD_FIELD_NUMBER

public static final int DASHBOARD_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateDashboardRequest getDefaultInstance()
Returns
Type Description
UpdateDashboardRequest

getDescriptor()

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

newBuilder()

public static UpdateDashboardRequest.Builder newBuilder()
Returns
Type Description
UpdateDashboardRequest.Builder

newBuilder(UpdateDashboardRequest prototype)

public static UpdateDashboardRequest.Builder newBuilder(UpdateDashboardRequest prototype)
Parameter
Name Description
prototype UpdateDashboardRequest
Returns
Type Description
UpdateDashboardRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateDashboardRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateDashboardRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateDashboardRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateDashboardRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateDashboardRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateDashboardRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDashboardRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateDashboardRequest> parser()
Returns
Type Description
Parser<UpdateDashboardRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDashboard()

public Dashboard getDashboard()

Required. The dashboard that will replace the existing dashboard.

.google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Dashboard

The dashboard.

getDashboardOrBuilder()

public DashboardOrBuilder getDashboardOrBuilder()

Required. The dashboard that will replace the existing dashboard.

.google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DashboardOrBuilder

getDefaultInstanceForType()

public UpdateDashboardRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDashboardRequest

getParserForType()

public Parser<UpdateDashboardRequest> getParserForType()
Returns
Type Description
Parser<UpdateDashboardRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidateOnly()

public boolean getValidateOnly()

If set, validate the request and preview the review, but do not actually save it.

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.

hasDashboard()

public boolean hasDashboard()

Required. The dashboard that will replace the existing dashboard.

.google.monitoring.dashboard.v1.Dashboard dashboard = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dashboard field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateDashboardRequest.Builder newBuilderForType()
Returns
Type Description
UpdateDashboardRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateDashboardRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateDashboardRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateDashboardRequest.Builder toBuilder()
Returns
Type Description
UpdateDashboardRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException