public final class Owner extends GeneratedMessageV3 implements OwnerOrBuilder
The owner of a specific resource.
Protobuf type google.storage.v2.Owner
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENTITY_ID_FIELD_NUMBER
public static final int ENTITY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Owner getDefaultInstance()
Returns |
Type |
Description |
Owner |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Owner.Builder newBuilder()
newBuilder(Owner prototype)
public static Owner.Builder newBuilder(Owner prototype)
Parameter |
Name |
Description |
prototype |
Owner
|
public static Owner parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Owner |
|
public static Owner parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Owner |
|
parseFrom(byte[] data)
public static Owner parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Owner |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Owner |
|
parseFrom(ByteString data)
public static Owner parseFrom(ByteString data)
Returns |
Type |
Description |
Owner |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Owner |
|
public static Owner parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Owner |
|
public static Owner parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Owner |
|
public static Owner parseFrom(InputStream input)
Returns |
Type |
Description |
Owner |
|
public static Owner parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Owner |
|
parseFrom(ByteBuffer data)
public static Owner parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Owner |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Owner parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Owner |
|
parser()
public static Parser<Owner> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Owner getDefaultInstanceForType()
Returns |
Type |
Description |
Owner |
|
getEntity()
public String getEntity()
The entity, in the form user-
userId.
string entity = 1;
Returns |
Type |
Description |
String |
The entity.
|
getEntityBytes()
public ByteString getEntityBytes()
The entity, in the form user-
userId.
string entity = 1;
Returns |
Type |
Description |
ByteString |
The bytes for entity.
|
getEntityId()
public String getEntityId()
The ID for the entity.
string entity_id = 2;
Returns |
Type |
Description |
String |
The entityId.
|
getEntityIdBytes()
public ByteString getEntityIdBytes()
The ID for the entity.
string entity_id = 2;
Returns |
Type |
Description |
ByteString |
The bytes for entityId.
|
getParserForType()
public Parser<Owner> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Owner.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Owner.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Owner.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides