Class GetStorageLayoutRequest.Builder (2.62.1)

public static final class GetStorageLayoutRequest.Builder extends GeneratedMessage.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

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

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.

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.

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 GeneratedMessage.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

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.

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.