Class DeleteEventsRequest.Builder (0.206.0-beta)

public static final class DeleteEventsRequest.Builder extends GeneratedMessage.Builder<DeleteEventsRequest.Builder> implements DeleteEventsRequestOrBuilder

Deletes all events in the project.

Protobuf type google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteEventsRequest build()
Returns
Type Description
DeleteEventsRequest

buildPartial()

public DeleteEventsRequest buildPartial()
Returns
Type Description
DeleteEventsRequest

clear()

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

clearProjectName()

public DeleteEventsRequest.Builder clearProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectID}/locations/{location}, where {projectID} is the Google Cloud Platform project ID and {location} is a Cloud region.

Examples: projects/my-project-123, projects/my-project-123/locations/global.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

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

Returns
Type Description
DeleteEventsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteEventsRequest getDefaultInstanceForType()
Returns
Type Description
DeleteEventsRequest

getDescriptorForType()

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

getProjectName()

public String getProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectID}/locations/{location}, where {projectID} is the Google Cloud Platform project ID and {location} is a Cloud region.

Examples: projects/my-project-123, projects/my-project-123/locations/global.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

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

Returns
Type Description
String

The projectName.

getProjectNameBytes()

public ByteString getProjectNameBytes()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectID}/locations/{location}, where {projectID} is the Google Cloud Platform project ID and {location} is a Cloud region.

Examples: projects/my-project-123, projects/my-project-123/locations/global.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

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

Returns
Type Description
ByteString

The bytes for projectName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteEventsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setProjectName(String value)

public DeleteEventsRequest.Builder setProjectName(String value)

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectID}/locations/{location}, where {projectID} is the Google Cloud Platform project ID and {location} is a Cloud region.

Examples: projects/my-project-123, projects/my-project-123/locations/global.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

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

Parameter
Name Description
value String

The projectName to set.

Returns
Type Description
DeleteEventsRequest.Builder

This builder for chaining.

setProjectNameBytes(ByteString value)

public DeleteEventsRequest.Builder setProjectNameBytes(ByteString value)

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectID}/locations/{location}, where {projectID} is the Google Cloud Platform project ID and {location} is a Cloud region.

Examples: projects/my-project-123, projects/my-project-123/locations/global.

For a list of supported locations, see Supported Regions. global is the default when unspecified.

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

Parameter
Name Description
value ByteString

The bytes for projectName to set.

Returns
Type Description
DeleteEventsRequest.Builder

This builder for chaining.