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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitializeHubResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InitializeHubResponse build()
buildPartial()
public InitializeHubResponse buildPartial()
clear()
public InitializeHubResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InitializeHubResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InitializeHubResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public InitializeHubResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public InitializeHubResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InitializeHubResponse other)
public InitializeHubResponse.Builder mergeFrom(InitializeHubResponse other)
public InitializeHubResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InitializeHubResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitializeHubResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InitializeHubResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitializeHubResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final InitializeHubResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|