public static final class OperationMetadata.Step.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Step.Builder> implements OperationMetadata.StepOrBuilder
Represents the status of one operation step.
Protobuf type google.api.servicemanagement.v1.OperationMetadata.Step
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public OperationMetadata.Step.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public OperationMetadata.Step build()
Returns
public OperationMetadata.Step buildPartial()
Returns
public OperationMetadata.Step.Builder clear()
Returns
Overrides
public OperationMetadata.Step.Builder clearDescription()
The short description of the step.
string description = 2;
Returns
public OperationMetadata.Step.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public OperationMetadata.Step.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public OperationMetadata.Step.Builder clearStatus()
The status code.
.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;
Returns
public OperationMetadata.Step.Builder clone()
Returns
Overrides
public OperationMetadata.Step getDefaultInstanceForType()
Returns
public String getDescription()
The short description of the step.
string description = 2;
Returns
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
The short description of the step.
string description = 2;
Returns
Type | Description |
ByteString | The bytes for description.
|
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public OperationMetadata.Status getStatus()
The status code.
.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;
Returns
public int getStatusValue()
The status code.
.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;
Returns
Type | Description |
int | The enum numeric value on the wire for status.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public OperationMetadata.Step.Builder mergeFrom(OperationMetadata.Step other)
Parameter
Returns
public OperationMetadata.Step.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public OperationMetadata.Step.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final OperationMetadata.Step.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public OperationMetadata.Step.Builder setDescription(String value)
The short description of the step.
string description = 2;
Parameter
Name | Description |
value | String
The description to set.
|
Returns
public OperationMetadata.Step.Builder setDescriptionBytes(ByteString value)
The short description of the step.
string description = 2;
Parameter
Name | Description |
value | ByteString
The bytes for description to set.
|
Returns
public OperationMetadata.Step.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public OperationMetadata.Step.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public OperationMetadata.Step.Builder setStatus(OperationMetadata.Status value)
The status code.
.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;
Parameter
Returns
public OperationMetadata.Step.Builder setStatusValue(int value)
The status code.
.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for status to set.
|
Returns
public final OperationMetadata.Step.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides