- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class CommonRequestParams.Builder extends GeneratedMessageV3.Builder<CommonRequestParams.Builder> implements CommonRequestParamsOrBuilder
Parameters that can be passed to any request.
Protobuf type google.storage.v2.CommonRequestParams
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommonRequestParams.BuilderImplements
CommonRequestParamsOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommonRequestParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommonRequestParams.Builder |
build()
public CommonRequestParams build()
Type | Description |
CommonRequestParams |
buildPartial()
public CommonRequestParams buildPartial()
Type | Description |
CommonRequestParams |
clear()
public CommonRequestParams.Builder clear()
Type | Description |
CommonRequestParams.Builder |
clearField(Descriptors.FieldDescriptor field)
public CommonRequestParams.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CommonRequestParams.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CommonRequestParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CommonRequestParams.Builder |
clearUserProject()
public CommonRequestParams.Builder clearUserProject()
Required. Required when using buckets with Requestor Pays feature enabled.
Example: projects/123456
.
string user_project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CommonRequestParams.Builder | This builder for chaining. |
clone()
public CommonRequestParams.Builder clone()
Type | Description |
CommonRequestParams.Builder |
getDefaultInstanceForType()
public CommonRequestParams getDefaultInstanceForType()
Type | Description |
CommonRequestParams |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getUserProject()
public String getUserProject()
Required. Required when using buckets with Requestor Pays feature enabled.
Example: projects/123456
.
string user_project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The userProject. |
getUserProjectBytes()
public ByteString getUserProjectBytes()
Required. Required when using buckets with Requestor Pays feature enabled.
Example: projects/123456
.
string user_project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for userProject. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommonRequestParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonRequestParams.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CommonRequestParams.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CommonRequestParams.Builder |
mergeFrom(CommonRequestParams other)
public CommonRequestParams.Builder mergeFrom(CommonRequestParams other)
Name | Description |
other | CommonRequestParams |
Type | Description |
CommonRequestParams.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommonRequestParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommonRequestParams.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CommonRequestParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommonRequestParams.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommonRequestParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CommonRequestParams.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CommonRequestParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommonRequestParams.Builder |
setUserProject(String value)
public CommonRequestParams.Builder setUserProject(String value)
Required. Required when using buckets with Requestor Pays feature enabled.
Example: projects/123456
.
string user_project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The userProject to set. |
Type | Description |
CommonRequestParams.Builder | This builder for chaining. |
setUserProjectBytes(ByteString value)
public CommonRequestParams.Builder setUserProjectBytes(ByteString value)
Required. Required when using buckets with Requestor Pays feature enabled.
Example: projects/123456
.
string user_project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for userProject to set. |
Type | Description |
CommonRequestParams.Builder | This builder for chaining. |