Class ListCertificateTemplatesResponse.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<ListCertificateTemplatesResponse.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<ListCertificateTemplatesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public int getCertificateTemplatesCount()
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
        Specified by:
        getCertificateTemplatesCount in interface ListCertificateTemplatesResponseOrBuilder
      • setCertificateTemplates

        public ListCertificateTemplatesResponse.Builder setCertificateTemplates​(int index,
                                                                                CertificateTemplate value)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • setCertificateTemplates

        public ListCertificateTemplatesResponse.Builder setCertificateTemplates​(int index,
                                                                                CertificateTemplate.Builder builderForValue)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • addCertificateTemplates

        public ListCertificateTemplatesResponse.Builder addCertificateTemplates​(CertificateTemplate value)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • addCertificateTemplates

        public ListCertificateTemplatesResponse.Builder addCertificateTemplates​(int index,
                                                                                CertificateTemplate value)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • addCertificateTemplates

        public ListCertificateTemplatesResponse.Builder addCertificateTemplates​(int index,
                                                                                CertificateTemplate.Builder builderForValue)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • addAllCertificateTemplates

        public ListCertificateTemplatesResponse.Builder addAllCertificateTemplates​(Iterable<? extends CertificateTemplate> values)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • clearCertificateTemplates

        public ListCertificateTemplatesResponse.Builder clearCertificateTemplates()
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • removeCertificateTemplates

        public ListCertificateTemplatesResponse.Builder removeCertificateTemplates​(int index)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • getCertificateTemplatesBuilder

        public CertificateTemplate.Builder getCertificateTemplatesBuilder​(int index)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • addCertificateTemplatesBuilder

        public CertificateTemplate.Builder addCertificateTemplatesBuilder()
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • addCertificateTemplatesBuilder

        public CertificateTemplate.Builder addCertificateTemplatesBuilder​(int index)
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • getCertificateTemplatesBuilderList

        public List<CertificateTemplate.Builder> getCertificateTemplatesBuilderList()
         The list of
         [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
         
        repeated .google.cloud.security.privateca.v1.CertificateTemplate certificate_templates = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token to retrieve next page of results. Pass this value in
         [ListCertificateTemplatesRequest.next_page_token][] to retrieve
         the next page of results.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListCertificateTemplatesResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token to retrieve next page of results. Pass this value in
         [ListCertificateTemplatesRequest.next_page_token][] to retrieve
         the next page of results.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListCertificateTemplatesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListCertificateTemplatesResponse.Builder setNextPageToken​(String value)
         A token to retrieve next page of results. Pass this value in
         [ListCertificateTemplatesRequest.next_page_token][] to retrieve
         the next page of results.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListCertificateTemplatesResponse.Builder clearNextPageToken()
         A token to retrieve next page of results. Pass this value in
         [ListCertificateTemplatesRequest.next_page_token][] to retrieve
         the next page of results.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListCertificateTemplatesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token to retrieve next page of results. Pass this value in
         [ListCertificateTemplatesRequest.next_page_token][] to retrieve
         the next page of results.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getUnreachableList

        public com.google.protobuf.ProtocolStringList getUnreachableList()
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableList in interface ListCertificateTemplatesResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachable in interface ListCertificateTemplatesResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unreachable at the given index.
      • getUnreachableBytes

        public com.google.protobuf.ByteString getUnreachableBytes​(int index)
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableBytes in interface ListCertificateTemplatesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListCertificateTemplatesResponse.Builder setUnreachable​(int index,
                                                                       String value)
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        index - The index to set the value at.
        value - The unreachable to set.
        Returns:
        This builder for chaining.
      • addUnreachable

        public ListCertificateTemplatesResponse.Builder addUnreachable​(String value)
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListCertificateTemplatesResponse.Builder addAllUnreachable​(Iterable<String> values)
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListCertificateTemplatesResponse.Builder clearUnreachable()
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListCertificateTemplatesResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         A list of locations (e.g. "us-west1") that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        value - The bytes of the unreachable to add.
        Returns:
        This builder for chaining.