Interface GitSourceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    GitSource, GitSource.Builder

    public interface GitSourceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDirectory()
      Optional.
      com.google.protobuf.ByteString getDirectoryBytes()
      Optional.
      String getRef()
      Optional.
      com.google.protobuf.ByteString getRefBytes()
      Optional.
      String getRepo()
      Optional.
      com.google.protobuf.ByteString getRepoBytes()
      Optional.
      boolean hasDirectory()
      Optional.
      boolean hasRef()
      Optional.
      boolean hasRepo()
      Optional.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasRepo

        boolean hasRepo()
         Optional. Repository URL.
         Example: 'https://github.com/kubernetes/examples.git'
         
        optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the repo field is set.
      • getRepo

        String getRepo()
         Optional. Repository URL.
         Example: 'https://github.com/kubernetes/examples.git'
         
        optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The repo.
      • getRepoBytes

        com.google.protobuf.ByteString getRepoBytes()
         Optional. Repository URL.
         Example: 'https://github.com/kubernetes/examples.git'
         
        optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for repo.
      • hasDirectory

        boolean hasDirectory()
         Optional. Subdirectory inside the repository.
         Example: 'staging/my-package'
         
        optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the directory field is set.
      • getDirectory

        String getDirectory()
         Optional. Subdirectory inside the repository.
         Example: 'staging/my-package'
         
        optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The directory.
      • getDirectoryBytes

        com.google.protobuf.ByteString getDirectoryBytes()
         Optional. Subdirectory inside the repository.
         Example: 'staging/my-package'
         
        optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for directory.
      • hasRef

        boolean hasRef()
         Optional. Git reference (e.g. branch or tag).
         
        optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the ref field is set.
      • getRef

        String getRef()
         Optional. Git reference (e.g. branch or tag).
         
        optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The ref.
      • getRefBytes

        com.google.protobuf.ByteString getRefBytes()
         Optional. Git reference (e.g. branch or tag).
         
        optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for ref.