Class InitializeHubResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • clear

        public InitializeHubResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • getDefaultInstanceForType

        public InitializeHubResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public InitializeHubResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public InitializeHubResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public InitializeHubResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • clearField

        public InitializeHubResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • clearOneof

        public InitializeHubResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • setRepeatedField

        public InitializeHubResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • addRepeatedField

        public InitializeHubResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • mergeFrom

        public InitializeHubResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InitializeHubResponse.Builder>
        Throws:
        IOException
      • 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;
        Specified by:
        getServiceIdentity in interface InitializeHubResponseOrBuilder
        Returns:
        The serviceIdentity.
      • getServiceIdentityBytes

        public com.google.protobuf.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;
        Specified by:
        getServiceIdentityBytes in interface InitializeHubResponseOrBuilder
        Returns:
        The bytes for serviceIdentity.
      • setServiceIdentity

        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;
        Parameters:
        value - The serviceIdentity to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setServiceIdentityBytes

        public InitializeHubResponse.Builder setServiceIdentityBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for serviceIdentity to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getWorkloadIdentityPool in interface InitializeHubResponseOrBuilder
        Returns:
        The workloadIdentityPool.
      • getWorkloadIdentityPoolBytes

        public com.google.protobuf.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;
        Specified by:
        getWorkloadIdentityPoolBytes in interface InitializeHubResponseOrBuilder
        Returns:
        The bytes for workloadIdentityPool.
      • setWorkloadIdentityPool

        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;
        Parameters:
        value - The workloadIdentityPool to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setWorkloadIdentityPoolBytes

        public InitializeHubResponse.Builder setWorkloadIdentityPoolBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for workloadIdentityPool to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final InitializeHubResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>
      • mergeUnknownFields

        public final InitializeHubResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InitializeHubResponse.Builder>