Class UpdateDashboardRequest (2.7.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
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateDashboardRequest getDefaultInstance()
Returns
TypeDescription
UpdateDashboardRequest

getDescriptor()

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

newBuilder()

public static UpdateDashboardRequest.Builder newBuilder()
Returns
TypeDescription
UpdateDashboardRequest.Builder

newBuilder(UpdateDashboardRequest prototype)

public static UpdateDashboardRequest.Builder newBuilder(UpdateDashboardRequest prototype)
Parameter
NameDescription
prototypeUpdateDashboardRequest
Returns
TypeDescription
UpdateDashboardRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateDashboardRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateDashboardRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateDashboardRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateDashboardRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateDashboardRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateDashboardRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateDashboardRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDashboardRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateDashboardRequest> parser()
Returns
TypeDescription
Parser<UpdateDashboardRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DashboardOrBuilder

getDefaultInstanceForType()

public UpdateDashboardRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDashboardRequest

getParserForType()

public Parser<UpdateDashboardRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateDashboardRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
boolean

Whether the dashboard field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateDashboardRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateDashboardRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateDashboardRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateDashboardRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateDashboardRequest.Builder toBuilder()
Returns
TypeDescription
UpdateDashboardRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException