Class Owner (2.9.2)

public final class Owner extends GeneratedMessageV3 implements OwnerOrBuilder

The owner of a specific resource.

Protobuf type google.storage.v2.Owner

Implements

OwnerOrBuilder

Static Fields

ENTITY_FIELD_NUMBER

public static final int ENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_ID_FIELD_NUMBER

public static final int ENTITY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Owner getDefaultInstance()
Returns
TypeDescription
Owner

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Owner.Builder newBuilder()
Returns
TypeDescription
Owner.Builder

newBuilder(Owner prototype)

public static Owner.Builder newBuilder(Owner prototype)
Parameter
NameDescription
prototypeOwner
Returns
TypeDescription
Owner.Builder

parseDelimitedFrom(InputStream input)

public static Owner parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Owner
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Owner parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Owner
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Owner parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Owner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Owner parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Owner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Owner parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Owner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Owner parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Owner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Owner parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Owner
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Owner parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Owner
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Owner parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Owner
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Owner parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Owner
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Owner parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Owner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Owner parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Owner
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Owner> parser()
Returns
TypeDescription
Parser<Owner>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Owner getDefaultInstanceForType()
Returns
TypeDescription
Owner

getEntity()

public String getEntity()

The entity, in the form user-userId.

string entity = 1;

Returns
TypeDescription
String

The entity.

getEntityBytes()

public ByteString getEntityBytes()

The entity, in the form user-userId.

string entity = 1;

Returns
TypeDescription
ByteString

The bytes for entity.

getEntityId()

public String getEntityId()

The ID for the entity.

string entity_id = 2;

Returns
TypeDescription
String

The entityId.

getEntityIdBytes()

public ByteString getEntityIdBytes()

The ID for the entity.

string entity_id = 2;

Returns
TypeDescription
ByteString

The bytes for entityId.

getParserForType()

public Parser<Owner> getParserForType()
Returns
TypeDescription
Parser<Owner>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Owner.Builder newBuilderForType()
Returns
TypeDescription
Owner.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Owner.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Owner.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Owner.Builder toBuilder()
Returns
TypeDescription
Owner.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException