Class FleetPackage.CloudBuildRepository

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.configdelivery.v1beta.FleetPackage.CloudBuildRepository
All Implemented Interfaces:
FleetPackage.CloudBuildRepositoryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
FleetPackage

public static final class FleetPackage.CloudBuildRepository extends com.google.protobuf.GeneratedMessage implements FleetPackage.CloudBuildRepositoryOrBuilder
 CloudBuildRepository contains information about fetching Kubernetes
 configuration from a `CloudBuildRepository`.
 
Protobuf type google.cloud.configdelivery.v1beta.FleetPackage.CloudBuildRepository
See Also:
  • Field Details

  • 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
    • getVariantsCase

      Specified by:
      getVariantsCase in interface FleetPackage.CloudBuildRepositoryOrBuilder
    • hasVariantsPattern

      public boolean hasVariantsPattern()
       Optional. variants_pattern is a glob pattern that will be used to find
       variants in the repository. Examples: `variants/*.yaml`, `us-*`
       
      string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasVariantsPattern in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      Whether the variantsPattern field is set.
    • getVariantsPattern

      public String getVariantsPattern()
       Optional. variants_pattern is a glob pattern that will be used to find
       variants in the repository. Examples: `variants/*.yaml`, `us-*`
       
      string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVariantsPattern in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The variantsPattern.
    • getVariantsPatternBytes

      public com.google.protobuf.ByteString getVariantsPatternBytes()
       Optional. variants_pattern is a glob pattern that will be used to find
       variants in the repository. Examples: `variants/*.yaml`, `us-*`
       
      string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVariantsPatternBytes in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The bytes for variantsPattern.
    • getName

      public String getName()
       Required. Name of the cloud build repository.
       Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Name of the cloud build repository.
       Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The bytes for name.
    • getPath

      public String getPath()
       Optional. path to the directory or file within the repository that
       contains the kubernetes configuration. If unspecified, path is assumed to
       the top level root directory of the repository.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPath in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Optional. path to the directory or file within the repository that
       contains the kubernetes configuration. If unspecified, path is assumed to
       the top level root directory of the repository.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPathBytes in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The bytes for path.
    • getTag

      public String getTag()
       Required. git tag of the underlying git repository.
       The git tag must be in the semantic version format `vX.Y.Z`.
       
      string tag = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTag in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public com.google.protobuf.ByteString getTagBytes()
       Required. git tag of the underlying git repository.
       The git tag must be in the semantic version format `vX.Y.Z`.
       
      string tag = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTagBytes in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The bytes for tag.
    • getServiceAccount

      public String getServiceAccount()
       Required. Google service account to use in CloudBuild triggers to fetch
       and store kubernetes configuration.
       
      string service_account = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServiceAccount in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      public com.google.protobuf.ByteString getServiceAccountBytes()
       Required. Google service account to use in CloudBuild triggers to fetch
       and store kubernetes configuration.
       
      string service_account = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServiceAccountBytes in interface FleetPackage.CloudBuildRepositoryOrBuilder
      Returns:
      The bytes for serviceAccount.
    • 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 FleetPackage.CloudBuildRepository parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static FleetPackage.CloudBuildRepository parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static FleetPackage.CloudBuildRepository parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static FleetPackage.CloudBuildRepository.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static FleetPackage.CloudBuildRepository getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FleetPackage.CloudBuildRepository> parser()
    • getParserForType

      public com.google.protobuf.Parser<FleetPackage.CloudBuildRepository> 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 FleetPackage.CloudBuildRepository getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder