Class PendingRenameInfo.Builder (2.46.0)

public static final class PendingRenameInfo.Builder extends GeneratedMessageV3.Builder<PendingRenameInfo.Builder> implements PendingRenameInfoOrBuilder

Contains information about a pending rename operation.

Protobuf type google.storage.control.v2.PendingRenameInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PendingRenameInfo build()
Returns
Type Description
PendingRenameInfo

buildPartial()

public PendingRenameInfo buildPartial()
Returns
Type Description
PendingRenameInfo

clear()

public PendingRenameInfo.Builder clear()
Returns
Type Description
PendingRenameInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperation()

public PendingRenameInfo.Builder clearOperation()

Output only. The name of the rename operation.

string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PendingRenameInfo.Builder

This builder for chaining.

clone()

public PendingRenameInfo.Builder clone()
Returns
Type Description
PendingRenameInfo.Builder
Overrides

getDefaultInstanceForType()

public PendingRenameInfo getDefaultInstanceForType()
Returns
Type Description
PendingRenameInfo

getDescriptorForType()

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

getOperation()

public String getOperation()

Output only. The name of the rename operation.

string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

Output only. The name of the rename operation.

string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(PendingRenameInfo other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public PendingRenameInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PendingRenameInfo.Builder
Overrides

setOperation(String value)

public PendingRenameInfo.Builder setOperation(String value)

Output only. The name of the rename operation.

string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The operation to set.

Returns
Type Description
PendingRenameInfo.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public PendingRenameInfo.Builder setOperationBytes(ByteString value)

Output only. The name of the rename operation.

string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for operation to set.

Returns
Type Description
PendingRenameInfo.Builder

This builder for chaining.

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

public PendingRenameInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PendingRenameInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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