public final class Owner extends GeneratedMessageV3 implements OwnerOrBuilder
The owner of a specific resource.
Protobuf type google.storage.v2.Owner
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OwnerImplements
OwnerOrBuilderFields
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
Type | Description |
int |
ENTITY_ID_FIELD_NUMBER
public static final int ENTITY_ID_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static Owner getDefaultInstance()
Type | Description |
Owner |
getDefaultInstanceForType()
public Owner getDefaultInstanceForType()
Type | Description |
Owner |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getEntity()
public String getEntity()
The entity, in the form user-
userId.
string entity = 1;
Type | Description |
String | The entity. |
getEntityBytes()
public ByteString getEntityBytes()
The entity, in the form user-
userId.
string entity = 1;
Type | Description |
ByteString | The bytes for entity. |
getEntityId()
public String getEntityId()
The ID for the entity.
string entity_id = 2;
Type | Description |
String | The entityId. |
getEntityIdBytes()
public ByteString getEntityIdBytes()
The ID for the entity.
string entity_id = 2;
Type | Description |
ByteString | The bytes for entityId. |
getParserForType()
public Parser<Owner> getParserForType()
Type | Description |
Parser<Owner> |
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 |
newBuilder()
public static Owner.Builder newBuilder()
Type | Description |
Owner.Builder |
newBuilder(Owner prototype)
public static Owner.Builder newBuilder(Owner prototype)
Name | Description |
prototype | Owner |
Type | Description |
Owner.Builder |
newBuilderForType()
public Owner.Builder newBuilderForType()
Type | Description |
Owner.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Owner.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Owner.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Owner parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Owner |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Owner parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Owner |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Owner parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Owner |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Owner |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Owner parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Owner |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Owner |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Owner parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Owner |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Owner |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Owner parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Owner |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Owner |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Owner parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Owner |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Owner |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Owner> parser()
Type | Description |
Parser<Owner> |
toBuilder()
public Owner.Builder toBuilder()
Type | Description |
Owner.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |