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
Static Methods
getDefaultInstance()
public static ClusterUser getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ClusterUser.Builder newBuilder()
Returns
newBuilder(ClusterUser prototype)
public static ClusterUser.Builder newBuilder(ClusterUser prototype)
Parameter
Returns
public static ClusterUser parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClusterUser parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ClusterUser parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ClusterUser parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterUser parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ClusterUser parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterUser parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClusterUser parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ClusterUser parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ClusterUser> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ClusterUser getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ClusterUser> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUsername()
public String getUsername()
Required. An active Google username.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The username.
|
getUsernameBytes()
public ByteString getUsernameBytes()
Required. An active Google username.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ClusterUser.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterUser.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ClusterUser.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions