Package k8s.io.api.core.v1
Interface Generated.GitRepoVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.GitRepoVolumeSource,Generated.GitRepoVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.GitRepoVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDirectory()directory is the target directory name.com.google.protobuf.ByteStringgetDirectoryBytes()directory is the target directory name.StringgetRepository()repository is the URLcom.google.protobuf.ByteStringgetRepositoryBytes()repository is the URLStringgetRevision()revision is the commit hash for the specified revision.com.google.protobuf.ByteStringgetRevisionBytes()revision is the commit hash for the specified revision.booleanhasDirectory()directory is the target directory name.booleanhasRepository()repository is the URLbooleanhasRevision()revision is the commit hash for the specified revision.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRepository
boolean hasRepository()
repository is the URL
optional string repository = 1;- Returns:
- Whether the repository field is set.
-
getRepository
String getRepository()
repository is the URL
optional string repository = 1;- Returns:
- The repository.
-
getRepositoryBytes
com.google.protobuf.ByteString getRepositoryBytes()
repository is the URL
optional string repository = 1;- Returns:
- The bytes for repository.
-
hasRevision
boolean hasRevision()
revision is the commit hash for the specified revision. +optional
optional string revision = 2;- Returns:
- Whether the revision field is set.
-
getRevision
String getRevision()
revision is the commit hash for the specified revision. +optional
optional string revision = 2;- Returns:
- The revision.
-
getRevisionBytes
com.google.protobuf.ByteString getRevisionBytes()
revision is the commit hash for the specified revision. +optional
optional string revision = 2;- Returns:
- The bytes for revision.
-
hasDirectory
boolean hasDirectory()
directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. +optional
optional string directory = 3;- Returns:
- Whether the directory field is set.
-
getDirectory
String getDirectory()
directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. +optional
optional string directory = 3;- Returns:
- The directory.
-
getDirectoryBytes
com.google.protobuf.ByteString getDirectoryBytes()
directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. +optional
optional string directory = 3;- Returns:
- The bytes for directory.
-
-