Class TrustConfig.TrustStore.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TrustConfig.TrustStore.Builder>
com.google.cloud.certificatemanager.v1.TrustConfig.TrustStore.Builder
All Implemented Interfaces:
TrustConfig.TrustStoreOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TrustConfig.TrustStore

public static final class TrustConfig.TrustStore.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrustConfig.TrustStore.Builder> implements TrustConfig.TrustStoreOrBuilder
 Defines a trust store.
 
Protobuf type google.cloud.certificatemanager.v1.TrustConfig.TrustStore
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TrustConfig.TrustStore.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.GeneratedMessage.Builder<TrustConfig.TrustStore.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.GeneratedMessage.Builder<TrustConfig.TrustStore.Builder>
    • getDefaultInstanceForType

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

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

      public TrustConfig.TrustStore buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TrustConfig.TrustStore.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrustConfig.TrustStore.Builder>
    • mergeFrom

    • isInitialized

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

      public TrustConfig.TrustStore.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<TrustConfig.TrustStore.Builder>
      Throws:
      IOException
    • getTrustAnchorsList

      public List<TrustConfig.TrustAnchor> getTrustAnchorsList()
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
      Specified by:
      getTrustAnchorsList in interface TrustConfig.TrustStoreOrBuilder
    • getTrustAnchorsCount

      public int getTrustAnchorsCount()
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
      Specified by:
      getTrustAnchorsCount in interface TrustConfig.TrustStoreOrBuilder
    • getTrustAnchors

      public TrustConfig.TrustAnchor getTrustAnchors(int index)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
      Specified by:
      getTrustAnchors in interface TrustConfig.TrustStoreOrBuilder
    • setTrustAnchors

      public TrustConfig.TrustStore.Builder setTrustAnchors(int index, TrustConfig.TrustAnchor value)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • setTrustAnchors

      public TrustConfig.TrustStore.Builder setTrustAnchors(int index, TrustConfig.TrustAnchor.Builder builderForValue)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • addTrustAnchors

       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • addTrustAnchors

      public TrustConfig.TrustStore.Builder addTrustAnchors(int index, TrustConfig.TrustAnchor value)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • addTrustAnchors

      public TrustConfig.TrustStore.Builder addTrustAnchors(TrustConfig.TrustAnchor.Builder builderForValue)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • addTrustAnchors

      public TrustConfig.TrustStore.Builder addTrustAnchors(int index, TrustConfig.TrustAnchor.Builder builderForValue)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • addAllTrustAnchors

      public TrustConfig.TrustStore.Builder addAllTrustAnchors(Iterable<? extends TrustConfig.TrustAnchor> values)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • clearTrustAnchors

      public TrustConfig.TrustStore.Builder clearTrustAnchors()
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • removeTrustAnchors

      public TrustConfig.TrustStore.Builder removeTrustAnchors(int index)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • getTrustAnchorsBuilder

      public TrustConfig.TrustAnchor.Builder getTrustAnchorsBuilder(int index)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • getTrustAnchorsOrBuilder

      public TrustConfig.TrustAnchorOrBuilder getTrustAnchorsOrBuilder(int index)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
      Specified by:
      getTrustAnchorsOrBuilder in interface TrustConfig.TrustStoreOrBuilder
    • getTrustAnchorsOrBuilderList

      public List<? extends TrustConfig.TrustAnchorOrBuilder> getTrustAnchorsOrBuilderList()
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
      Specified by:
      getTrustAnchorsOrBuilderList in interface TrustConfig.TrustStoreOrBuilder
    • addTrustAnchorsBuilder

      public TrustConfig.TrustAnchor.Builder addTrustAnchorsBuilder()
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • addTrustAnchorsBuilder

      public TrustConfig.TrustAnchor.Builder addTrustAnchorsBuilder(int index)
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • getTrustAnchorsBuilderList

      public List<TrustConfig.TrustAnchor.Builder> getTrustAnchorsBuilderList()
       List of Trust Anchors to be used while performing validation
       against a given TrustStore.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;
    • getIntermediateCasList

      public List<TrustConfig.IntermediateCA> getIntermediateCasList()
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
      Specified by:
      getIntermediateCasList in interface TrustConfig.TrustStoreOrBuilder
    • getIntermediateCasCount

      public int getIntermediateCasCount()
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
      Specified by:
      getIntermediateCasCount in interface TrustConfig.TrustStoreOrBuilder
    • getIntermediateCas

      public TrustConfig.IntermediateCA getIntermediateCas(int index)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
      Specified by:
      getIntermediateCas in interface TrustConfig.TrustStoreOrBuilder
    • setIntermediateCas

      public TrustConfig.TrustStore.Builder setIntermediateCas(int index, TrustConfig.IntermediateCA value)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • setIntermediateCas

      public TrustConfig.TrustStore.Builder setIntermediateCas(int index, TrustConfig.IntermediateCA.Builder builderForValue)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • addIntermediateCas

       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • addIntermediateCas

      public TrustConfig.TrustStore.Builder addIntermediateCas(int index, TrustConfig.IntermediateCA value)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • addIntermediateCas

      public TrustConfig.TrustStore.Builder addIntermediateCas(TrustConfig.IntermediateCA.Builder builderForValue)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • addIntermediateCas

      public TrustConfig.TrustStore.Builder addIntermediateCas(int index, TrustConfig.IntermediateCA.Builder builderForValue)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • addAllIntermediateCas

      public TrustConfig.TrustStore.Builder addAllIntermediateCas(Iterable<? extends TrustConfig.IntermediateCA> values)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • clearIntermediateCas

      public TrustConfig.TrustStore.Builder clearIntermediateCas()
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • removeIntermediateCas

      public TrustConfig.TrustStore.Builder removeIntermediateCas(int index)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • getIntermediateCasBuilder

      public TrustConfig.IntermediateCA.Builder getIntermediateCasBuilder(int index)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • getIntermediateCasOrBuilder

      public TrustConfig.IntermediateCAOrBuilder getIntermediateCasOrBuilder(int index)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
      Specified by:
      getIntermediateCasOrBuilder in interface TrustConfig.TrustStoreOrBuilder
    • getIntermediateCasOrBuilderList

      public List<? extends TrustConfig.IntermediateCAOrBuilder> getIntermediateCasOrBuilderList()
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
      Specified by:
      getIntermediateCasOrBuilderList in interface TrustConfig.TrustStoreOrBuilder
    • addIntermediateCasBuilder

      public TrustConfig.IntermediateCA.Builder addIntermediateCasBuilder()
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • addIntermediateCasBuilder

      public TrustConfig.IntermediateCA.Builder addIntermediateCasBuilder(int index)
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;
    • getIntermediateCasBuilderList

      public List<TrustConfig.IntermediateCA.Builder> getIntermediateCasBuilderList()
       Set of intermediate CA certificates used for the path building
       phase of chain validation.
      
       The field is currently not supported if TrustConfig is used for the
       workload certificate feature.
       
      repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;