Class DeleteReportRequest.Builder (0.1.0)

public static final class DeleteReportRequest.Builder extends GeneratedMessage.Builder<DeleteReportRequest.Builder> implements DeleteReportRequestOrBuilder

Request message for the DeleteReport method.

Protobuf type google.cloud.appoptimize.v1beta.DeleteReportRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteReportRequest build()
Returns
Type Description
DeleteReportRequest

buildPartial()

public DeleteReportRequest buildPartial()
Returns
Type Description
DeleteReportRequest

clear()

public DeleteReportRequest.Builder clear()
Returns
Type Description
DeleteReportRequest.Builder
Overrides

clearAllowMissing()

public DeleteReportRequest.Builder clearAllowMissing()

Optional. If set to true, and the report is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeleteReportRequest.Builder

This builder for chaining.

clearName()

public DeleteReportRequest.Builder clearName()

Required. The name of the report to delete.

Format: projects/{project}/locations/{location}/reports/{report_id}.

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

Returns
Type Description
DeleteReportRequest.Builder

This builder for chaining.

getAllowMissing()

public boolean getAllowMissing()

Optional. If set to true, and the report is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteReportRequest getDefaultInstanceForType()
Returns
Type Description
DeleteReportRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the report to delete.

Format: projects/{project}/locations/{location}/reports/{report_id}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the report to delete.

Format: projects/{project}/locations/{location}/reports/{report_id}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteReportRequest other)

public DeleteReportRequest.Builder mergeFrom(DeleteReportRequest other)
Parameter
Name Description
other DeleteReportRequest
Returns
Type Description
DeleteReportRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteReportRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteReportRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteReportRequest.Builder
Overrides

setAllowMissing(boolean value)

public DeleteReportRequest.Builder setAllowMissing(boolean value)

Optional. If set to true, and the report is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
DeleteReportRequest.Builder

This builder for chaining.

setName(String value)

public DeleteReportRequest.Builder setName(String value)

Required. The name of the report to delete.

Format: projects/{project}/locations/{location}/reports/{report_id}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteReportRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteReportRequest.Builder setNameBytes(ByteString value)

Required. The name of the report to delete.

Format: projects/{project}/locations/{location}/reports/{report_id}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteReportRequest.Builder

This builder for chaining.