public final class CommonRequestParams extends GeneratedMessageV3 implements CommonRequestParamsOrBuilder
Parameters that can be passed to any request.
Protobuf type google.storage.v2.CommonRequestParams
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CommonRequestParamsImplements
CommonRequestParamsOrBuilderFields
USER_PROJECT_FIELD_NUMBER
public static final int USER_PROJECT_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static CommonRequestParams getDefaultInstance()
Type | Description |
CommonRequestParams |
getDefaultInstanceForType()
public CommonRequestParams getDefaultInstanceForType()
Type | Description |
CommonRequestParams |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<CommonRequestParams> getParserForType()
Type | Description |
Parser<CommonRequestParams> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static CommonRequestParams.Builder newBuilder()
Type | Description |
CommonRequestParams.Builder |
newBuilder(CommonRequestParams prototype)
public static CommonRequestParams.Builder newBuilder(CommonRequestParams prototype)
Name | Description |
prototype | CommonRequestParams |
Type | Description |
CommonRequestParams.Builder |
newBuilderForType()
public CommonRequestParams.Builder newBuilderForType()
Type | Description |
CommonRequestParams.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CommonRequestParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CommonRequestParams.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static CommonRequestParams parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CommonRequestParams |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CommonRequestParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonRequestParams |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CommonRequestParams parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CommonRequestParams |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CommonRequestParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonRequestParams |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CommonRequestParams parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CommonRequestParams |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CommonRequestParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonRequestParams |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CommonRequestParams parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CommonRequestParams |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CommonRequestParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonRequestParams |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CommonRequestParams parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CommonRequestParams |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CommonRequestParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonRequestParams |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CommonRequestParams parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CommonRequestParams |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CommonRequestParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonRequestParams |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CommonRequestParams> parser()
Type | Description |
Parser<CommonRequestParams> |
toBuilder()
public CommonRequestParams.Builder toBuilder()
Type | Description |
CommonRequestParams.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |