Class ClusterUser (0.3.0)

public final class ClusterUser extends GeneratedMessageV3 implements ClusterUserOrBuilder

A user principal for an RBAC policy.

Protobuf type google.cloud.edgecontainer.v1.ClusterUser

Static Fields

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClusterUser getDefaultInstance()
Returns
TypeDescription
ClusterUser

getDescriptor()

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

newBuilder()

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

newBuilder(ClusterUser prototype)

public static ClusterUser.Builder newBuilder(ClusterUser prototype)
Parameter
NameDescription
prototypeClusterUser
Returns
TypeDescription
ClusterUser.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ClusterUser getDefaultInstanceForType()
Returns
TypeDescription
ClusterUser

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUsername()

public String getUsername()

Required. An active Google username.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. An active Google username.

string username = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for username.

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 ClusterUser.Builder newBuilderForType()
Returns
TypeDescription
ClusterUser.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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