Class GetStorageLayoutRequest.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetStorageLayoutRequest build()
Returns
TypeDescription
GetStorageLayoutRequest

buildPartial()

public GetStorageLayoutRequest buildPartial()
Returns
TypeDescription
GetStorageLayoutRequest

clear()

public GetStorageLayoutRequest.Builder clear()
Returns
TypeDescription
GetStorageLayoutRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetStorageLayoutRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetStorageLayoutRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetStorageLayoutRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GetStorageLayoutRequest.Builder

This builder for chaining.

clone()

public GetStorageLayoutRequest.Builder clone()
Returns
TypeDescription
GetStorageLayoutRequest.Builder
Overrides

getDefaultInstanceForType()

public GetStorageLayoutRequest getDefaultInstanceForType()
Returns
TypeDescription
GetStorageLayoutRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(GetStorageLayoutRequest other)

public GetStorageLayoutRequest.Builder mergeFrom(GetStorageLayoutRequest other)
Parameter
NameDescription
otherGetStorageLayoutRequest
Returns
TypeDescription
GetStorageLayoutRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetStorageLayoutRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The prefix to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for prefix to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
GetStorageLayoutRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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