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 |
---|
Type | Description |
int | |
WORKLOAD_IDENTITY_POOL_FIELD_NUMBER
public static final int WORKLOAD_IDENTITY_POOL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static InitializeHubResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InitializeHubResponse.Builder newBuilder()
newBuilder(InitializeHubResponse prototype)
public static InitializeHubResponse.Builder newBuilder(InitializeHubResponse prototype)
public static InitializeHubResponse parseDelimitedFrom(InputStream input)
public static InitializeHubResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InitializeHubResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InitializeHubResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(CodedInputStream input)
public static InitializeHubResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(InputStream input)
public static InitializeHubResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InitializeHubResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InitializeHubResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InitializeHubResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public InitializeHubResponse getDefaultInstanceForType()
getParserForType()
public Parser<InitializeHubResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InitializeHubResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InitializeHubResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InitializeHubResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides