Class OperationMetadata.Step.Builder (3.20.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OperationMetadata.Step build()
Returns
TypeDescription
OperationMetadata.Step

buildPartial()

public OperationMetadata.Step buildPartial()
Returns
TypeDescription
OperationMetadata.Step

clear()

public OperationMetadata.Step.Builder clear()
Returns
TypeDescription
OperationMetadata.Step.Builder
Overrides

clearDescription()

public OperationMetadata.Step.Builder clearDescription()

The short description of the step.

string description = 2;

Returns
TypeDescription
OperationMetadata.Step.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public OperationMetadata.Step.Builder clearStatus()

The status code.

.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;

Returns
TypeDescription
OperationMetadata.Step.Builder

This builder for chaining.

clone()

public OperationMetadata.Step.Builder clone()
Returns
TypeDescription
OperationMetadata.Step.Builder
Overrides

getDefaultInstanceForType()

public OperationMetadata.Step getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadata.Step

getDescription()

public String getDescription()

The short description of the step.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The short description of the step.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStatus()

public OperationMetadata.Status getStatus()

The status code.

.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;

Returns
TypeDescription
OperationMetadata.Status

The status.

getStatusValue()

public int getStatusValue()

The status code.

.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for status.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OperationMetadata.Step other)

public OperationMetadata.Step.Builder mergeFrom(OperationMetadata.Step other)
Parameter
NameDescription
otherOperationMetadata.Step
Returns
TypeDescription
OperationMetadata.Step.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDescription(String value)

public OperationMetadata.Step.Builder setDescription(String value)

The short description of the step.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
OperationMetadata.Step.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public OperationMetadata.Step.Builder setDescriptionBytes(ByteString value)

The short description of the step.

string description = 2;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
OperationMetadata.Step.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStatus(OperationMetadata.Status value)

public OperationMetadata.Step.Builder setStatus(OperationMetadata.Status value)

The status code.

.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;

Parameter
NameDescription
valueOperationMetadata.Status

The status to set.

Returns
TypeDescription
OperationMetadata.Step.Builder

This builder for chaining.

setStatusValue(int value)

public OperationMetadata.Step.Builder setStatusValue(int value)

The status code.

.google.api.servicemanagement.v1.OperationMetadata.Status status = 4;

Parameter
NameDescription
valueint

The enum numeric value on the wire for status to set.

Returns
TypeDescription
OperationMetadata.Step.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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