Class DeleteEventsRequest.Builder (0.137.0-beta)

public static final class DeleteEventsRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

build()

public DeleteEventsRequest build()
Returns
TypeDescription
DeleteEventsRequest

buildPartial()

public DeleteEventsRequest buildPartial()
Returns
TypeDescription
DeleteEventsRequest

clear()

public DeleteEventsRequest.Builder clear()
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

clearProjectName()

public DeleteEventsRequest.Builder clearProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

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

Returns
TypeDescription
DeleteEventsRequest.Builder

This builder for chaining.

clone()

public DeleteEventsRequest.Builder clone()
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteEventsRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProjectName()

public String getProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

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

Returns
TypeDescription
String

The projectName.

getProjectNameBytes()

public ByteString getProjectNameBytes()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

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

Returns
TypeDescription
ByteString

The bytes for projectName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteEventsRequest other)

public DeleteEventsRequest.Builder mergeFrom(DeleteEventsRequest other)
Parameter
NameDescription
otherDeleteEventsRequest
Returns
TypeDescription
DeleteEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteEventsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

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

Parameter
NameDescription
valueString

The projectName to set.

Returns
TypeDescription
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}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

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

Parameter
NameDescription
valueByteString

The bytes for projectName to set.

Returns
TypeDescription
DeleteEventsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteEventsRequest.Builder
Overrides