Class CopyLogEntriesResponse.Builder (3.16.0)

public static final class CopyLogEntriesResponse.Builder extends GeneratedMessageV3.Builder<CopyLogEntriesResponse.Builder> implements CopyLogEntriesResponseOrBuilder

Response type for CopyLogEntries long running operations.

Protobuf type google.logging.v2.CopyLogEntriesResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CopyLogEntriesResponse build()
Returns
TypeDescription
CopyLogEntriesResponse

buildPartial()

public CopyLogEntriesResponse buildPartial()
Returns
TypeDescription
CopyLogEntriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLogEntriesCopiedCount()

public CopyLogEntriesResponse.Builder clearLogEntriesCopiedCount()

Number of log entries copied.

int64 log_entries_copied_count = 1;

Returns
TypeDescription
CopyLogEntriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CopyLogEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
CopyLogEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLogEntriesCopiedCount()

public long getLogEntriesCopiedCount()

Number of log entries copied.

int64 log_entries_copied_count = 1;

Returns
TypeDescription
long

The logEntriesCopiedCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CopyLogEntriesResponse other)

public CopyLogEntriesResponse.Builder mergeFrom(CopyLogEntriesResponse other)
Parameter
NameDescription
otherCopyLogEntriesResponse
Returns
TypeDescription
CopyLogEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLogEntriesCopiedCount(long value)

public CopyLogEntriesResponse.Builder setLogEntriesCopiedCount(long value)

Number of log entries copied.

int64 log_entries_copied_count = 1;

Parameter
NameDescription
valuelong

The logEntriesCopiedCount to set.

Returns
TypeDescription
CopyLogEntriesResponse.Builder

This builder for chaining.

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

public CopyLogEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CopyLogEntriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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