Class CopyLogEntriesRequest.Builder (3.17.1)

public static final class CopyLogEntriesRequest.Builder extends GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder> implements CopyLogEntriesRequestOrBuilder

The parameters to CopyLogEntries.

Protobuf type google.logging.v2.CopyLogEntriesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CopyLogEntriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

build()

public CopyLogEntriesRequest build()
Returns
Type Description
CopyLogEntriesRequest

buildPartial()

public CopyLogEntriesRequest buildPartial()
Returns
Type Description
CopyLogEntriesRequest

clear()

public CopyLogEntriesRequest.Builder clear()
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

clearDestination()

public CopyLogEntriesRequest.Builder clearDestination()

Required. Destination to which to copy log entries.

string destination = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CopyLogEntriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

clearFilter()

public CopyLogEntriesRequest.Builder clearFilter()

Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

clearName()

public CopyLogEntriesRequest.Builder clearName()

Required. Log bucket from which to copy log entries.

For example:

"projects/my-project/locations/global/buckets/my-source-bucket"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CopyLogEntriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

clone()

public CopyLogEntriesRequest.Builder clone()
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

getDefaultInstanceForType()

public CopyLogEntriesRequest getDefaultInstanceForType()
Returns
Type Description
CopyLogEntriesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestination()

public String getDestination()

Required. Destination to which to copy log entries.

string destination = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

Required. Destination to which to copy log entries.

string destination = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for destination.

getFilter()

public String getFilter()

Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getName()

public String getName()

Required. Log bucket from which to copy log entries.

For example:

"projects/my-project/locations/global/buckets/my-source-bucket"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Log bucket from which to copy log entries.

For example:

"projects/my-project/locations/global/buckets/my-source-bucket"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CopyLogEntriesRequest other)

public CopyLogEntriesRequest.Builder mergeFrom(CopyLogEntriesRequest other)
Parameter
Name Description
other CopyLogEntriesRequest
Returns
Type Description
CopyLogEntriesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CopyLogEntriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CopyLogEntriesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CopyLogEntriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

setDestination(String value)

public CopyLogEntriesRequest.Builder setDestination(String value)

Required. Destination to which to copy log entries.

string destination = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The destination to set.

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

setDestinationBytes(ByteString value)

public CopyLogEntriesRequest.Builder setDestinationBytes(ByteString value)

Required. Destination to which to copy log entries.

string destination = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for destination to set.

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CopyLogEntriesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

setFilter(String value)

public CopyLogEntriesRequest.Builder setFilter(String value)

Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public CopyLogEntriesRequest.Builder setFilterBytes(ByteString value)

Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

setName(String value)

public CopyLogEntriesRequest.Builder setName(String value)

Required. Log bucket from which to copy log entries.

For example:

"projects/my-project/locations/global/buckets/my-source-bucket"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CopyLogEntriesRequest.Builder setNameBytes(ByteString value)

Required. Log bucket from which to copy log entries.

For example:

"projects/my-project/locations/global/buckets/my-source-bucket"

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CopyLogEntriesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CopyLogEntriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CopyLogEntriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CopyLogEntriesRequest.Builder
Overrides