Package com.google.cloud.config.v1
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 StringgetDirectory()Optional.com.google.protobuf.ByteStringgetDirectoryBytes()Optional.StringgetRef()Optional.com.google.protobuf.ByteStringgetRefBytes()Optional.StringgetRepo()Optional.com.google.protobuf.ByteStringgetRepoBytes()Optional.booleanhasDirectory()Optional.booleanhasRef()Optional.booleanhasRepo()Optional.-
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.
-
-