Class AttachedClusterUser (0.10.0)

public final class AttachedClusterUser extends GeneratedMessageV3 implements AttachedClusterUserOrBuilder

Identities of a user-type subject for Attached clusters.

Protobuf type google.cloud.gkemulticloud.v1.AttachedClusterUser

Static Fields

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AttachedClusterUser getDefaultInstance()
Returns
TypeDescription
AttachedClusterUser

getDescriptor()

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

newBuilder()

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

newBuilder(AttachedClusterUser prototype)

public static AttachedClusterUser.Builder newBuilder(AttachedClusterUser prototype)
Parameter
NameDescription
prototypeAttachedClusterUser
Returns
TypeDescription
AttachedClusterUser.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AttachedClusterUser getDefaultInstanceForType()
Returns
TypeDescription
AttachedClusterUser

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUsername()

public String getUsername()

Required. The name of the user, e.g. my-gcp-id@gmail.com.

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

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. The name of the user, e.g. my-gcp-id@gmail.com.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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