public final class ClusterUser extends GeneratedMessageV3 implements ClusterUserOrBuilder
A user principal for an RBAC policy.
Protobuf type google.cloud.edgecontainer.v1.ClusterUser
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ClusterUser getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClusterUser.Builder newBuilder()
newBuilder(ClusterUser prototype)
public static ClusterUser.Builder newBuilder(ClusterUser prototype)
public static ClusterUser parseDelimitedFrom(InputStream input)
public static ClusterUser parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClusterUser parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClusterUser parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(CodedInputStream input)
public static ClusterUser parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(InputStream input)
public static ClusterUser parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClusterUser parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClusterUser parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClusterUser> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ClusterUser getDefaultInstanceForType()
getParserForType()
public Parser<ClusterUser> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for username.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClusterUser.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClusterUser.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ClusterUser.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides