public static final class SourceRepository.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder> implements SourceRepositoryOrBuilder
Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.Protobuf type
google.cloud.functions.v1.SourceRepository| Modifier and Type | Method and Description |
|---|---|
SourceRepository.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SourceRepository |
build() |
SourceRepository |
buildPartial() |
SourceRepository.Builder |
clear() |
SourceRepository.Builder |
clearDeployedUrl()
Output only.
|
SourceRepository.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SourceRepository.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SourceRepository.Builder |
clearUrl()
The URL pointing to the hosted repository where the function is defined.
|
SourceRepository.Builder |
clone() |
SourceRepository |
getDefaultInstanceForType() |
String |
getDeployedUrl()
Output only.
|
com.google.protobuf.ByteString |
getDeployedUrlBytes()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getUrl()
The URL pointing to the hosted repository where the function is defined.
|
com.google.protobuf.ByteString |
getUrlBytes()
The URL pointing to the hosted repository where the function is defined.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SourceRepository.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SourceRepository.Builder |
mergeFrom(com.google.protobuf.Message other) |
SourceRepository.Builder |
mergeFrom(SourceRepository other) |
SourceRepository.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourceRepository.Builder |
setDeployedUrl(String value)
Output only.
|
SourceRepository.Builder |
setDeployedUrlBytes(com.google.protobuf.ByteString value)
Output only.
|
SourceRepository.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SourceRepository.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SourceRepository.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourceRepository.Builder |
setUrl(String value)
The URL pointing to the hosted repository where the function is defined.
|
SourceRepository.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The URL pointing to the hosted repository where the function is defined.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SourceRepository build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SourceRepository buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SourceRepository.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourceRepository.Builder>public SourceRepository.Builder mergeFrom(SourceRepository other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public SourceRepository.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourceRepository.Builder>IOExceptionpublic String getUrl()
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
string url = 1;getUrl in interface SourceRepositoryOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
string url = 1;getUrlBytes in interface SourceRepositoryOrBuilderpublic SourceRepository.Builder setUrl(String value)
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
string url = 1;value - The url to set.public SourceRepository.Builder clearUrl()
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
string url = 1;public SourceRepository.Builder setUrlBytes(com.google.protobuf.ByteString value)
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
string url = 1;value - The bytes for url to set.public String getDeployedUrl()
Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getDeployedUrl in interface SourceRepositoryOrBuilderpublic com.google.protobuf.ByteString getDeployedUrlBytes()
Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getDeployedUrlBytes in interface SourceRepositoryOrBuilderpublic SourceRepository.Builder setDeployedUrl(String value)
Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The deployedUrl to set.public SourceRepository.Builder clearDeployedUrl()
Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public SourceRepository.Builder setDeployedUrlBytes(com.google.protobuf.ByteString value)
Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for deployedUrl to set.public final SourceRepository.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>public final SourceRepository.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourceRepository.Builder>Copyright © 2021 Google LLC. All rights reserved.