Class Operation.Builder (2.17.0)

public static final class Operation.Builder extends GeneratedMessageV3.Builder<Operation.Builder> implements OperationOrBuilder

Inheritance

Object > com.google.protobuf.AbstractMessageLite.Builder > com.google.protobuf.AbstractMessage.Builder > com.google.protobuf.GeneratedMessageV3.Builder > Operation.Builder

Implements

OperationOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

public Operation.Builder addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
arg1Object
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

build()

public Operation build()
Returns
TypeDescription
Operation

buildPartial()

public Operation buildPartial()
Returns
TypeDescription
Operation

clear()

public Operation.Builder clear()
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearDone()

public Operation.Builder clearDone()
Returns
TypeDescription
Operation.Builder

clearError()

public Operation.Builder clearError()
Returns
TypeDescription
Operation.Builder

clearField(Descriptors.FieldDescriptor arg0)

public Operation.Builder clearField(Descriptors.FieldDescriptor arg0)
Parameter
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearMetadata()

public Operation.Builder clearMetadata()
Returns
TypeDescription
Operation.Builder

clearName()

public Operation.Builder clearName()
Returns
TypeDescription
Operation.Builder

clearOneof(Descriptors.OneofDescriptor arg0)

public Operation.Builder clearOneof(Descriptors.OneofDescriptor arg0)
Parameter
NameDescription
arg0com.google.protobuf.Descriptors.OneofDescriptor
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clearResponse()

public Operation.Builder clearResponse()
Returns
TypeDescription
Operation.Builder

clearResult()

public Operation.Builder clearResult()
Returns
TypeDescription
Operation.Builder

clone()

public Operation.Builder clone()
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

getDefaultInstanceForType()

public Operation getDefaultInstanceForType()
Returns
TypeDescription
Operation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

getDone()

public boolean getDone()
Returns
TypeDescription
boolean

getError()

public Status getError()
Returns
TypeDescription
com.google.rpc.Status

getErrorBuilder()

public Status.Builder getErrorBuilder()
Returns
TypeDescription
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getMetadata()

public Any getMetadata()
Returns
TypeDescription
com.google.protobuf.Any

getMetadataBuilder()

public Any.Builder getMetadataBuilder()
Returns
TypeDescription
com.google.protobuf.Any.Builder

getMetadataOrBuilder()

public AnyOrBuilder getMetadataOrBuilder()
Returns
TypeDescription
com.google.protobuf.AnyOrBuilder

getName()

public String getName()
Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()
Returns
TypeDescription
com.google.protobuf.ByteString

getResponse()

public Any getResponse()
Returns
TypeDescription
com.google.protobuf.Any

getResponseBuilder()

public Any.Builder getResponseBuilder()
Returns
TypeDescription
com.google.protobuf.Any.Builder

getResponseOrBuilder()

public AnyOrBuilder getResponseOrBuilder()
Returns
TypeDescription
com.google.protobuf.AnyOrBuilder

getResultCase()

public Operation.ResultCase getResultCase()
Returns
TypeDescription
ResultCase

hasError()

public boolean hasError()
Returns
TypeDescription
boolean

hasMetadata()

public boolean hasMetadata()
Returns
TypeDescription
boolean

hasResponse()

public boolean hasResponse()
Returns
TypeDescription
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeError(Status arg0)

public Operation.Builder mergeError(Status arg0)
Parameter
NameDescription
arg0com.google.rpc.Status
Returns
TypeDescription
Operation.Builder

mergeFrom(Operation arg0)

public Operation.Builder mergeFrom(Operation arg0)
Parameter
NameDescription
arg0Operation
Returns
TypeDescription
Operation.Builder

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public Operation.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0com.google.protobuf.CodedInputStream
arg1com.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
TypeDescription
IOException

mergeFrom(Message arg0)

public Operation.Builder mergeFrom(Message arg0)
Parameter
NameDescription
arg0com.google.protobuf.Message
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeMetadata(Any arg0)

public Operation.Builder mergeMetadata(Any arg0)
Parameter
NameDescription
arg0com.google.protobuf.Any
Returns
TypeDescription
Operation.Builder

mergeResponse(Any arg0)

public Operation.Builder mergeResponse(Any arg0)
Parameter
NameDescription
arg0com.google.protobuf.Any
Returns
TypeDescription
Operation.Builder

mergeUnknownFields(UnknownFieldSet arg0)

public final Operation.Builder mergeUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0com.google.protobuf.UnknownFieldSet
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

setDone(boolean arg0)

public Operation.Builder setDone(boolean arg0)
Parameter
NameDescription
arg0boolean
Returns
TypeDescription
Operation.Builder

setError(Status arg0)

public Operation.Builder setError(Status arg0)
Parameter
NameDescription
arg0com.google.rpc.Status
Returns
TypeDescription
Operation.Builder

setError(Status.Builder arg0)

public Operation.Builder setError(Status.Builder arg0)
Parameter
NameDescription
arg0com.google.rpc.Status.Builder
Returns
TypeDescription
Operation.Builder

setField(Descriptors.FieldDescriptor arg0, Object arg1)

public Operation.Builder setField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
arg1Object
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setMetadata(Any arg0)

public Operation.Builder setMetadata(Any arg0)
Parameter
NameDescription
arg0com.google.protobuf.Any
Returns
TypeDescription
Operation.Builder

setMetadata(Any.Builder arg0)

public Operation.Builder setMetadata(Any.Builder arg0)
Parameter
NameDescription
arg0com.google.protobuf.Any.Builder
Returns
TypeDescription
Operation.Builder

setName(String arg0)

public Operation.Builder setName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Operation.Builder

setNameBytes(ByteString arg0)

public Operation.Builder setNameBytes(ByteString arg0)
Parameter
NameDescription
arg0com.google.protobuf.ByteString
Returns
TypeDescription
Operation.Builder

setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)

public Operation.Builder setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
Parameters
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
arg1int
arg2Object
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setResponse(Any arg0)

public Operation.Builder setResponse(Any arg0)
Parameter
NameDescription
arg0com.google.protobuf.Any
Returns
TypeDescription
Operation.Builder

setResponse(Any.Builder arg0)

public Operation.Builder setResponse(Any.Builder arg0)
Parameter
NameDescription
arg0com.google.protobuf.Any.Builder
Returns
TypeDescription
Operation.Builder

setUnknownFields(UnknownFieldSet arg0)

public final Operation.Builder setUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0com.google.protobuf.UnknownFieldSet
Returns
TypeDescription
Operation.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)