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
WORKLOAD_IDENTITY_POOL_FIELD_NUMBER
public static final int WORKLOAD_IDENTITY_POOL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InitializeHubResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InitializeHubResponse.Builder newBuilder()
Returns
newBuilder(InitializeHubResponse prototype)
public static InitializeHubResponse.Builder newBuilder(InitializeHubResponse prototype)
Parameter
Returns
public static InitializeHubResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InitializeHubResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InitializeHubResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InitializeHubResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InitializeHubResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InitializeHubResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InitializeHubResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InitializeHubResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InitializeHubResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InitializeHubResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public InitializeHubResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<InitializeHubResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServiceIdentity()
public String getServiceIdentity()
Name of the Hub default service identity, in the format:
service-<project-number>@gcp-sa-gkehub.iam.gserviceaccount.com
The service account has roles/gkehub.serviceAgent
in the Hub project.
string service_identity = 1;
Returns
Type | Description |
String | The serviceIdentity.
|
getServiceIdentityBytes()
public ByteString getServiceIdentityBytes()
Name of the Hub default service identity, in the format:
service-<project-number>@gcp-sa-gkehub.iam.gserviceaccount.com
The service account has roles/gkehub.serviceAgent
in the Hub project.
string service_identity = 1;
Returns
Type | Description |
ByteString | The bytes for serviceIdentity.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Type | Description |
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
Type | Description |
ByteString | The bytes for workloadIdentityPool.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InitializeHubResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InitializeHubResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InitializeHubResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions