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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DeleteEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteEventsRequest build()
Returns
public DeleteEventsRequest buildPartial()
Returns
public DeleteEventsRequest.Builder clear()
Returns
Overrides
public DeleteEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeleteEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public DeleteEventsRequest.Builder clone()
Returns
Overrides
public DeleteEventsRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
String | The projectName.
|
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
Type | Description |
ByteString | The bytes for projectName.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeleteEventsRequest.Builder mergeFrom(DeleteEventsRequest other)
Parameter
Returns
public DeleteEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DeleteEventsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DeleteEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DeleteEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Name | Description |
value | String
The projectName to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for projectName to set.
|
Returns
public DeleteEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DeleteEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides