Class GetStorageLayoutRequest.Builder (2.44.1)

public static final class GetStorageLayoutRequest.Builder extends GeneratedMessageV3.Builder<GetStorageLayoutRequest.Builder> implements GetStorageLayoutRequestOrBuilder

Request message for GetStorageLayout.

Protobuf type google.storage.control.v2.GetStorageLayoutRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetStorageLayoutRequest build()
Returns
Type Description
GetStorageLayoutRequest

buildPartial()

public GetStorageLayoutRequest buildPartial()
Returns
Type Description
GetStorageLayoutRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetStorageLayoutRequest.Builder clearName()

Required. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrefix()

public GetStorageLayoutRequest.Builder clearPrefix()

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

string prefix = 2;

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

clearRequestId()

public GetStorageLayoutRequest.Builder clearRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetStorageLayoutRequest getDefaultInstanceForType()
Returns
Type Description
GetStorageLayoutRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPrefix()

public String getPrefix()

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

string prefix = 2;

Returns
Type Description
String

The prefix.

getPrefixBytes()

public ByteString getPrefixBytes()

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

string prefix = 2;

Returns
Type Description
ByteString

The bytes for prefix.

getRequestId()

public String getRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

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 GetStorageLayoutRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetStorageLayoutRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(GetStorageLayoutRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetStorageLayoutRequest.Builder setName(String value)

Required. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetStorageLayoutRequest.Builder setNameBytes(ByteString value)

Required. The name of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

setPrefix(String value)

public GetStorageLayoutRequest.Builder setPrefix(String value)

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

string prefix = 2;

Parameter
Name Description
value String

The prefix to set.

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

setPrefixBytes(ByteString value)

public GetStorageLayoutRequest.Builder setPrefixBytes(ByteString value)

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

string prefix = 2;

Parameter
Name Description
value ByteString

The bytes for prefix to set.

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public GetStorageLayoutRequest.Builder setRequestId(String value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public GetStorageLayoutRequest.Builder setRequestIdBytes(ByteString value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
GetStorageLayoutRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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