public final class CreateDashboardRequest extends GeneratedMessageV3 implements CreateDashboardRequestOrBuilder
The CreateDashboard
request.
Protobuf type google.monitoring.dashboard.v1.CreateDashboardRequest
Static Fields
DASHBOARD_FIELD_NUMBER
public static final int DASHBOARD_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateDashboardRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateDashboardRequest.Builder newBuilder()
Returns
newBuilder(CreateDashboardRequest prototype)
public static CreateDashboardRequest.Builder newBuilder(CreateDashboardRequest prototype)
Parameter
Returns
public static CreateDashboardRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDashboardRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateDashboardRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateDashboardRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateDashboardRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateDashboardRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDashboardRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateDashboardRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDashboardRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDashboardRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateDashboardRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateDashboardRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateDashboardRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDashboard()
public Dashboard getDashboard()
Required. The initial dashboard specification.
.google.monitoring.dashboard.v1.Dashboard dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDashboardOrBuilder()
public DashboardOrBuilder getDashboardOrBuilder()
Required. The initial dashboard specification.
.google.monitoring.dashboard.v1.Dashboard dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateDashboardRequest getDefaultInstanceForType()
Returns
getParent()
public String getParent()
Required. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
The [PROJECT_ID_OR_NUMBER]
must match the dashboard resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
The [PROJECT_ID_OR_NUMBER]
must match the dashboard resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<CreateDashboardRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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 initial dashboard specification.
.google.monitoring.dashboard.v1.Dashboard dashboard = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the dashboard field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateDashboardRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateDashboardRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateDashboardRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions