Package com.google.cloud.config.v1
Class GitSource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.config.v1.GitSource
- All Implemented Interfaces:
GitSourceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class GitSource
extends com.google.protobuf.GeneratedMessage
implements GitSourceOrBuilder
A set of files in a Git repository.Protobuf type
google.cloud.config.v1.GitSource- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of files in a Git repository.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GitSourcestatic final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<GitSource>getRef()Optional.com.google.protobuf.ByteStringOptional.getRepo()Optional.com.google.protobuf.ByteStringOptional.intbooleanOptional.inthashCode()booleanhasRef()Optional.booleanhasRepo()Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic GitSource.Builderstatic GitSource.BuildernewBuilder(GitSource prototype) protected GitSource.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GitSourceparseDelimitedFrom(InputStream input) static GitSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GitSourceparseFrom(byte[] data) static GitSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GitSourceparseFrom(com.google.protobuf.ByteString data) static GitSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GitSourceparseFrom(com.google.protobuf.CodedInputStream input) static GitSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GitSourceparseFrom(InputStream input) static GitSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GitSourceparseFrom(ByteBuffer data) static GitSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GitSource>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
REPO_FIELD_NUMBER
public static final int REPO_FIELD_NUMBER- See Also:
-
DIRECTORY_FIELD_NUMBER
public static final int DIRECTORY_FIELD_NUMBER- See Also:
-
REF_FIELD_NUMBER
public static final int REF_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasRepo
public boolean hasRepo()Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'
optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRepoin interfaceGitSourceOrBuilder- Returns:
- Whether the repo field is set.
-
getRepo
Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'
optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRepoin interfaceGitSourceOrBuilder- Returns:
- The repo.
-
getRepoBytes
public com.google.protobuf.ByteString getRepoBytes()Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'
optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRepoBytesin interfaceGitSourceOrBuilder- Returns:
- The bytes for repo.
-
hasDirectory
public boolean hasDirectory()Optional. Subdirectory inside the repository. Example: 'staging/my-package'
optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDirectoryin interfaceGitSourceOrBuilder- Returns:
- Whether the directory field is set.
-
getDirectory
Optional. Subdirectory inside the repository. Example: 'staging/my-package'
optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDirectoryin interfaceGitSourceOrBuilder- Returns:
- The directory.
-
getDirectoryBytes
public com.google.protobuf.ByteString getDirectoryBytes()Optional. Subdirectory inside the repository. Example: 'staging/my-package'
optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDirectoryBytesin interfaceGitSourceOrBuilder- Returns:
- The bytes for directory.
-
hasRef
public boolean hasRef()Optional. Git reference (e.g. branch or tag).
optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRefin interfaceGitSourceOrBuilder- Returns:
- Whether the ref field is set.
-
getRef
Optional. Git reference (e.g. branch or tag).
optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRefin interfaceGitSourceOrBuilder- Returns:
- The ref.
-
getRefBytes
public com.google.protobuf.ByteString getRefBytes()Optional. Git reference (e.g. branch or tag).
optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRefBytesin interfaceGitSourceOrBuilder- Returns:
- The bytes for ref.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GitSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GitSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GitSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GitSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GitSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GitSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GitSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GitSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GitSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GitSource.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-