public static final class DeleteLogRequest.Builder extends GeneratedMessageV3.Builder<DeleteLogRequest.Builder> implements DeleteLogRequestOrBuilder
The parameters to DeleteLog.
Protobuf type google.logging.v2.DeleteLogRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteLogRequest.BuilderImplements
DeleteLogRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteLogRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteLogRequest.Builder |
build()
public DeleteLogRequest build()
Type | Description |
DeleteLogRequest |
buildPartial()
public DeleteLogRequest buildPartial()
Type | Description |
DeleteLogRequest |
clear()
public DeleteLogRequest.Builder clear()
Type | Description |
DeleteLogRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteLogRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
.
For more information about log names, see
LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteLogRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteLogRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteLogRequest.Builder |
clone()
public DeleteLogRequest.Builder clone()
Type | Description |
DeleteLogRequest.Builder |
getDefaultInstanceForType()
public DeleteLogRequest getDefaultInstanceForType()
Type | Description |
DeleteLogRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
.
For more information about log names, see
LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
.
For more information about log names, see
LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for logName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DeleteLogRequest other)
public DeleteLogRequest.Builder mergeFrom(DeleteLogRequest other)
Name | Description |
other | DeleteLogRequest |
Type | Description |
DeleteLogRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteLogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteLogRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteLogRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteLogRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteLogRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteLogRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteLogRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
.
For more information about log names, see
LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The logName to set. |
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/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
.
For more information about log names, see
LogEntry.
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for logName to set. |
Type | Description |
DeleteLogRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteLogRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteLogRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteLogRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteLogRequest.Builder |