public final class LockBucketRetentionPolicyRequest extends GeneratedMessageV3 implements LockBucketRetentionPolicyRequestOrBuilder
Request message for LockBucketRetentionPolicyRequest.
Protobuf type google.storage.v2.LockBucketRetentionPolicyRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LockBucketRetentionPolicyRequestImplements
LockBucketRetentionPolicyRequestOrBuilderStatic Fields
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
Type | Description |
int |
IF_METAGENERATION_MATCH_FIELD_NUMBER
public static final int IF_METAGENERATION_MATCH_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static LockBucketRetentionPolicyRequest getDefaultInstance()
Type | Description |
LockBucketRetentionPolicyRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static LockBucketRetentionPolicyRequest.Builder newBuilder()
Type | Description |
LockBucketRetentionPolicyRequest.Builder |
newBuilder(LockBucketRetentionPolicyRequest prototype)
public static LockBucketRetentionPolicyRequest.Builder newBuilder(LockBucketRetentionPolicyRequest prototype)
Name | Description |
prototype | LockBucketRetentionPolicyRequest |
Type | Description |
LockBucketRetentionPolicyRequest.Builder |
parseDelimitedFrom(InputStream input)
public static LockBucketRetentionPolicyRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LockBucketRetentionPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static LockBucketRetentionPolicyRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LockBucketRetentionPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static LockBucketRetentionPolicyRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LockBucketRetentionPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static LockBucketRetentionPolicyRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LockBucketRetentionPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static LockBucketRetentionPolicyRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LockBucketRetentionPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static LockBucketRetentionPolicyRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LockBucketRetentionPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LockBucketRetentionPolicyRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<LockBucketRetentionPolicyRequest> parser()
Type | Description |
Parser<LockBucketRetentionPolicyRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getBucket()
public String getBucket()
Required. Name of a bucket.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The bucket. |
getBucketBytes()
public ByteString getBucketBytes()
Required. Name of a bucket.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for bucket. |
getDefaultInstanceForType()
public LockBucketRetentionPolicyRequest getDefaultInstanceForType()
Type | Description |
LockBucketRetentionPolicyRequest |
getIfMetagenerationMatch()
public long getIfMetagenerationMatch()
Required. Makes the operation conditional on whether bucket's current metageneration matches the given value. Must be positive.
int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
long | The ifMetagenerationMatch. |
getParserForType()
public Parser<LockBucketRetentionPolicyRequest> getParserForType()
Type | Description |
Parser<LockBucketRetentionPolicyRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public LockBucketRetentionPolicyRequest.Builder newBuilderForType()
Type | Description |
LockBucketRetentionPolicyRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LockBucketRetentionPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
LockBucketRetentionPolicyRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public LockBucketRetentionPolicyRequest.Builder toBuilder()
Type | Description |
LockBucketRetentionPolicyRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |