Class DeleteLogRequest.Builder (3.13.4)

public static final class DeleteLogRequest.Builder extends GeneratedMessageV3.Builder<DeleteLogRequest.Builder> implements DeleteLogRequestOrBuilder

The parameters to DeleteLog.

Protobuf type google.logging.v2.DeleteLogRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteLogRequest build()
Returns
TypeDescription
DeleteLogRequest

buildPartial()

public DeleteLogRequest buildPartial()
Returns
TypeDescription
DeleteLogRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

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
TypeDescription
DeleteLogRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteLogRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteLogRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for logName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteLogRequest other)

public DeleteLogRequest.Builder mergeFrom(DeleteLogRequest other)
Parameter
NameDescription
otherDeleteLogRequest
Returns
TypeDescription
DeleteLogRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valueString

The logName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for logName to set.

Returns
TypeDescription
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)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteLogRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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