public static final class InitializeHubResponse.Builder extends GeneratedMessageV3.Builder<InitializeHubResponse.Builder> implements InitializeHubResponseOrBuilder
Response message for the InitializeHub method.
Protobuf type google.cloud.gkehub.v1alpha2.InitializeHubResponse
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitializeHubResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InitializeHubResponse build()
Returns
buildPartial()
public InitializeHubResponse buildPartial()
Returns
clear()
public InitializeHubResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InitializeHubResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InitializeHubResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceIdentity()
public InitializeHubResponse.Builder clearServiceIdentity()
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
clearWorkloadIdentityPool()
public InitializeHubResponse.Builder clearWorkloadIdentityPool()
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
clone()
public InitializeHubResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InitializeHubResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InitializeHubResponse other)
public InitializeHubResponse.Builder mergeFrom(InitializeHubResponse other)
Parameter
Returns
public InitializeHubResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InitializeHubResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitializeHubResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InitializeHubResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitializeHubResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceIdentity(String value)
public InitializeHubResponse.Builder setServiceIdentity(String value)
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;
Parameter
Name | Description |
value | String
The serviceIdentity to set.
|
Returns
setServiceIdentityBytes(ByteString value)
public InitializeHubResponse.Builder setServiceIdentityBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for serviceIdentity to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final InitializeHubResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWorkloadIdentityPool(String value)
public InitializeHubResponse.Builder setWorkloadIdentityPool(String value)
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;
Parameter
Name | Description |
value | String
The workloadIdentityPool to set.
|
Returns
setWorkloadIdentityPoolBytes(ByteString value)
public InitializeHubResponse.Builder setWorkloadIdentityPoolBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for workloadIdentityPool to set.
|
Returns