public static final class DeleteEventsRequest.Builder extends GeneratedMessage.Builder<DeleteEventsRequest.Builder> implements DeleteEventsRequestOrBuilderDeletes all events in the project.
Protobuf type google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteEventsRequest.BuilderImplements
DeleteEventsRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteEventsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteEventsRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for projectName to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteEventsRequest.Builder |
This builder for chaining. |