Class TrustConfig.TrustStore

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

public static final class TrustConfig.TrustStore extends com.google.protobuf.GeneratedMessage implements TrustConfig.TrustStoreOrBuilder
 Defines a trust store.
 
Protobuf type google.cloud.certificatemanager.v1.TrustConfig.TrustStore
See Also:
  • Field Details

    • TRUST_ANCHORS_FIELD_NUMBER

      public static final int TRUST_ANCHORS_FIELD_NUMBER
      See Also:
    • INTERMEDIATE_CAS_FIELD_NUMBER

      public static final int INTERMEDIATE_CAS_FIELD_NUMBER
      See Also:
  • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TrustConfig.TrustStore parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TrustConfig.TrustStore parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TrustConfig.TrustStore parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static TrustConfig.TrustStore.Builder newBuilder()
    • newBuilder

      public static TrustConfig.TrustStore.Builder newBuilder(TrustConfig.TrustStore prototype)
    • toBuilder

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

      protected TrustConfig.TrustStore.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TrustConfig.TrustStore getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TrustConfig.TrustStore> parser()
    • getParserForType

      public com.google.protobuf.Parser<TrustConfig.TrustStore> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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