Class InitializeHubResponse (1.24.0)

public final class InitializeHubResponse extends GeneratedMessageV3 implements InitializeHubResponseOrBuilder

Response message for the InitializeHub method.

Protobuf type google.cloud.gkehub.v1alpha2.InitializeHubResponse

Static Fields

SERVICE_IDENTITY_FIELD_NUMBER

public static final int SERVICE_IDENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

WORKLOAD_IDENTITY_POOL_FIELD_NUMBER

public static final int WORKLOAD_IDENTITY_POOL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InitializeHubResponse getDefaultInstance()
Returns
TypeDescription
InitializeHubResponse

getDescriptor()

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

newBuilder()

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

newBuilder(InitializeHubResponse prototype)

public static InitializeHubResponse.Builder newBuilder(InitializeHubResponse prototype)
Parameter
NameDescription
prototypeInitializeHubResponse
Returns
TypeDescription
InitializeHubResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InitializeHubResponse getDefaultInstanceForType()
Returns
TypeDescription
InitializeHubResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceIdentity()

public String getServiceIdentity()

Name of the Hub default service identity, in the format:

 service-&lt;project-number&gt;&#64;gcp-sa-gkehub.iam.gserviceaccount.com

The service account has roles/gkehub.serviceAgent in the Hub project.

string service_identity = 1;

Returns
TypeDescription
String

The serviceIdentity.

getServiceIdentityBytes()

public ByteString getServiceIdentityBytes()

Name of the Hub default service identity, in the format:

 service-&lt;project-number&gt;&#64;gcp-sa-gkehub.iam.gserviceaccount.com

The service account has roles/gkehub.serviceAgent in the Hub project.

string service_identity = 1;

Returns
TypeDescription
ByteString

The bytes for serviceIdentity.

getWorkloadIdentityPool()

public String getWorkloadIdentityPool()

The Workload Identity Pool used for Workload Identity-enabled clusters registered with this Hub. Format: <project-id>.hub.id.goog

string workload_identity_pool = 2;

Returns
TypeDescription
String

The workloadIdentityPool.

getWorkloadIdentityPoolBytes()

public ByteString getWorkloadIdentityPoolBytes()

The Workload Identity Pool used for Workload Identity-enabled clusters registered with this Hub. Format: <project-id>.hub.id.goog

string workload_identity_pool = 2;

Returns
TypeDescription
ByteString

The bytes for workloadIdentityPool.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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