Send feedback
Class Operation.Builder (2.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.0 keyboard_arrow_down
public static final class Operation . Builder extends GeneratedMessageV3 . Builder<Operation . Builder > implements OperationOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
public Operation . Builder addRepeatedField ( Descriptors . FieldDescriptor arg0 , Object arg1 )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Operation buildPartial ()
Returns
clear()
public Operation . Builder clear ()
Returns
Overrides
clearDone()
public Operation . Builder clearDone ()
Returns
clearError()
public Operation . Builder clearError ()
Returns
clearField(Descriptors.FieldDescriptor arg0)
public Operation . Builder clearField ( Descriptors . FieldDescriptor arg0 )
Parameter
Returns
Overrides
public Operation . Builder clearMetadata ()
Returns
clearName()
public Operation . Builder clearName ()
Returns
clearOneof(Descriptors.OneofDescriptor arg0)
public Operation . Builder clearOneof ( Descriptors . OneofDescriptor arg0 )
Parameter
Returns
Overrides
clearResponse()
public Operation . Builder clearResponse ()
Returns
clearResult()
public Operation . Builder clearResult ()
Returns
clone()
public Operation . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Operation getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDone()
Returns
getError()
Returns
Type Description com.google.rpc.Status
getErrorBuilder()
public Status . Builder getErrorBuilder ()
Returns
Type Description com.google.rpc.Status.Builder
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder ()
Returns
Type Description com.google.rpc.StatusOrBuilder
Returns
public Any . Builder getMetadataBuilder ()
Returns
public AnyOrBuilder getMetadataOrBuilder ()
Returns
getName()
Returns
getNameBytes()
public ByteString getNameBytes ()
Returns
getResponse()
Returns
getResponseBuilder()
public Any . Builder getResponseBuilder ()
Returns
getResponseOrBuilder()
public AnyOrBuilder getResponseOrBuilder ()
Returns
getResultCase()
public Operation . ResultCase getResultCase ()
Returns
hasError()
public boolean hasError ()
Returns
public boolean hasMetadata ()
Returns
hasResponse()
public boolean hasResponse ()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeError(Status arg0)
public Operation . Builder mergeError ( Status arg0 )
Parameter
Name Description arg0
com.google.rpc.Status
Returns
mergeFrom(Operation arg0)
public Operation . Builder mergeFrom ( Operation arg0 )
Parameter
Returns
public Operation . Builder mergeFrom ( CodedInputStream arg0 , ExtensionRegistryLite arg1 )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message arg0)
public Operation . Builder mergeFrom ( Message arg0 )
Parameter
Returns
Overrides
public Operation . Builder mergeMetadata ( Any arg0 )
Parameter
Returns
mergeResponse(Any arg0)
public Operation . Builder mergeResponse ( Any arg0 )
Parameter
Returns
mergeUnknownFields(UnknownFieldSet arg0)
public final Operation . Builder mergeUnknownFields ( UnknownFieldSet arg0 )
Parameter
Returns
Overrides
setDone(boolean arg0)
public Operation . Builder setDone ( boolean arg0 )
Parameter
Returns
setError(Status arg0)
public Operation . Builder setError ( Status arg0 )
Parameter
Name Description arg0
com.google.rpc.Status
Returns
setError(Status.Builder arg0)
public Operation . Builder setError ( Status . Builder arg0 )
Parameter
Name Description arg0
com.google.rpc.Status.Builder
Returns
setField(Descriptors.FieldDescriptor arg0, Object arg1)
public Operation . Builder setField ( Descriptors . FieldDescriptor arg0 , Object arg1 )
Parameters
Returns
Overrides
public Operation . Builder setMetadata ( Any arg0 )
Parameter
Returns
public Operation . Builder setMetadata ( Any . Builder arg0 )
Parameter
Returns
setName(String arg0)
public Operation . Builder setName ( String arg0 )
Parameter
Returns
setNameBytes(ByteString arg0)
public Operation . Builder setNameBytes ( ByteString arg0 )
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
public Operation . Builder setRepeatedField ( Descriptors . FieldDescriptor arg0 , int arg1 , Object arg2 )
Parameters
Returns
Overrides
setResponse(Any arg0)
public Operation . Builder setResponse ( Any arg0 )
Parameter
Returns
setResponse(Any.Builder arg0)
public Operation . Builder setResponse ( Any . Builder arg0 )
Parameter
Returns
setUnknownFields(UnknownFieldSet arg0)
public final Operation . Builder setUnknownFields ( UnknownFieldSet arg0 )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]