Class OperationMetadata.Step.Builder (3.44.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Step.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationMetadata.Step.Builder
Overrides

build()

public OperationMetadata.Step build()
Returns
Type Description
OperationMetadata.Step

buildPartial()

public OperationMetadata.Step buildPartial()
Returns
Type Description
OperationMetadata.Step

clear()

public OperationMetadata.Step.Builder clear()
Returns
Type Description
OperationMetadata.Step.Builder
Overrides

clearDescription()

public OperationMetadata.Step.Builder clearDescription()

The short description of the step.

string description = 2;

Returns
Type Description
OperationMetadata.Step.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OperationMetadata.Step.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OperationMetadata.Step.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationMetadata.Step.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OperationMetadata.Step.Builder
Overrides

clearStatus()

public OperationMetadata.Step.Builder clearStatus()

The status code.

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

Returns
Type Description
OperationMetadata.Step.Builder

This builder for chaining.

clone()

public OperationMetadata.Step.Builder clone()
Returns
Type Description
OperationMetadata.Step.Builder
Overrides

getDefaultInstanceForType()

public OperationMetadata.Step getDefaultInstanceForType()
Returns
Type Description
OperationMetadata.Step

getDescription()

public String getDescription()

The short description of the step.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The short description of the step.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStatus()

public OperationMetadata.Status getStatus()

The status code.

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

Returns
Type Description
OperationMetadata.Status

The status.

getStatusValue()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OperationMetadata.Step other)

public OperationMetadata.Step.Builder mergeFrom(OperationMetadata.Step other)
Parameter
Name Description
other OperationMetadata.Step
Returns
Type Description
OperationMetadata.Step.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OperationMetadata.Step.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata.Step.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OperationMetadata.Step.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OperationMetadata.Step.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Step.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadata.Step.Builder
Overrides

setDescription(String value)

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
Type Description
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
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
OperationMetadata.Step.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Step.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value OperationMetadata.Status

The status to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
OperationMetadata.Step.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Step.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadata.Step.Builder
Overrides