public static final class DeleteLogRequest.Builder extends GeneratedMessage.Builder<DeleteLogRequest.Builder> implements DeleteLogRequestOrBuilderThe parameters to DeleteLog.
Protobuf type google.logging.v2.DeleteLogRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteLogRequest.BuilderImplements
DeleteLogRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteLogRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest |
|
buildPartial()
public DeleteLogRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest |
|
clear()
public DeleteLogRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest.Builder |
|
clearLogName()
public DeleteLogRequest.Builder clearLogName()Required. The resource name of the log to delete:
projects/[PROJECT_ID]/logs/[LOG_ID]organizations/[ORGANIZATION_ID]/logs/[LOG_ID]billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]must be URL-encoded. For example,"projects/my-project-id/logs/syslog","organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteLogRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLogName()
public String getLogName()Required. The resource name of the log to delete:
projects/[PROJECT_ID]/logs/[LOG_ID]organizations/[ORGANIZATION_ID]/logs/[LOG_ID]billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]must be URL-encoded. For example,"projects/my-project-id/logs/syslog","organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The logName. |
getLogNameBytes()
public ByteString getLogNameBytes()Required. The resource name of the log to delete:
projects/[PROJECT_ID]/logs/[LOG_ID]organizations/[ORGANIZATION_ID]/logs/[LOG_ID]billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]must be URL-encoded. For example,"projects/my-project-id/logs/syslog","organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for logName. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteLogRequest other)
public DeleteLogRequest.Builder mergeFrom(DeleteLogRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteLogRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteLogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteLogRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest.Builder |
|
setLogName(String value)
public DeleteLogRequest.Builder setLogName(String value)Required. The resource name of the log to delete:
projects/[PROJECT_ID]/logs/[LOG_ID]organizations/[ORGANIZATION_ID]/logs/[LOG_ID]billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]must be URL-encoded. For example,"projects/my-project-id/logs/syslog","organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe logName to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest.Builder |
This builder for chaining. |
setLogNameBytes(ByteString value)
public DeleteLogRequest.Builder setLogNameBytes(ByteString value)Required. The resource name of the log to delete:
projects/[PROJECT_ID]/logs/[LOG_ID]organizations/[ORGANIZATION_ID]/logs/[LOG_ID]billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]must be URL-encoded. For example,"projects/my-project-id/logs/syslog","organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for logName to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteLogRequest.Builder |
This builder for chaining. |