Class LogEntryOperation.Builder (1.13.0)

public static final class LogEntryOperation.Builder extends GeneratedMessageV3.Builder<LogEntryOperation.Builder> implements LogEntryOperationOrBuilder

Additional information about a potentially long-running operation with which a log entry is associated.

Protobuf type google.api.servicecontrol.v1.LogEntryOperation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LogEntryOperation build()
Returns
TypeDescription
LogEntryOperation

buildPartial()

public LogEntryOperation buildPartial()
Returns
TypeDescription
LogEntryOperation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFirst()

public LogEntryOperation.Builder clearFirst()

Optional. Set this to True if this is the first log entry in the operation.

bool first = 3;

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

clearId()

public LogEntryOperation.Builder clearId()

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

string id = 1;

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

clearLast()

public LogEntryOperation.Builder clearLast()

Optional. Set this to True if this is the last log entry in the operation.

bool last = 4;

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProducer()

public LogEntryOperation.Builder clearProducer()

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

string producer = 2;

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public LogEntryOperation getDefaultInstanceForType()
Returns
TypeDescription
LogEntryOperation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFirst()

public boolean getFirst()

Optional. Set this to True if this is the first log entry in the operation.

bool first = 3;

Returns
TypeDescription
boolean

The first.

getId()

public String getId()

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getLast()

public boolean getLast()

Optional. Set this to True if this is the last log entry in the operation.

bool last = 4;

Returns
TypeDescription
boolean

The last.

getProducer()

public String getProducer()

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

string producer = 2;

Returns
TypeDescription
String

The producer.

getProducerBytes()

public ByteString getProducerBytes()

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

string producer = 2;

Returns
TypeDescription
ByteString

The bytes for producer.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LogEntryOperation other)

public LogEntryOperation.Builder mergeFrom(LogEntryOperation other)
Parameter
NameDescription
otherLogEntryOperation
Returns
TypeDescription
LogEntryOperation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFirst(boolean value)

public LogEntryOperation.Builder setFirst(boolean value)

Optional. Set this to True if this is the first log entry in the operation.

bool first = 3;

Parameter
NameDescription
valueboolean

The first to set.

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

setId(String value)

public LogEntryOperation.Builder setId(String value)

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

setIdBytes(ByteString value)

public LogEntryOperation.Builder setIdBytes(ByteString value)

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

setLast(boolean value)

public LogEntryOperation.Builder setLast(boolean value)

Optional. Set this to True if this is the last log entry in the operation.

bool last = 4;

Parameter
NameDescription
valueboolean

The last to set.

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

setProducer(String value)

public LogEntryOperation.Builder setProducer(String value)

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

string producer = 2;

Parameter
NameDescription
valueString

The producer to set.

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

setProducerBytes(ByteString value)

public LogEntryOperation.Builder setProducerBytes(ByteString value)

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

string producer = 2;

Parameter
NameDescription
valueByteString

The bytes for producer to set.

Returns
TypeDescription
LogEntryOperation.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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