public static final class Agent.GitIntegrationSettings.GitConnectionSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder> implements Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilder
Integration settings for a Git service hosted on Cloud Run.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings.GitConnectionSettingsgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.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<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Agent.GitIntegrationSettings.GitConnectionSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Agent.GitIntegrationSettings.GitConnectionSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Agent.GitIntegrationSettings.GitConnectionSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.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<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.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<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.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<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.Builder mergeFrom(Agent.GitIntegrationSettings.GitConnectionSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public Agent.GitIntegrationSettings.GitConnectionSettings.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<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>IOExceptionpublic Agent.GitIntegrationSettings.GitConnectionSettings.GitAuthenticationCase getGitAuthenticationCase()
getGitAuthenticationCase in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearGitAuthentication()
public String getDisplayName()
Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic Agent.GitIntegrationSettings.GitConnectionSettings.Builder setDisplayName(String value)
Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearDisplayName()
Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public String getRepositoryUri()
Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];getRepositoryUri in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic com.google.protobuf.ByteString getRepositoryUriBytes()
Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];getRepositoryUriBytes in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic Agent.GitIntegrationSettings.GitConnectionSettings.Builder setRepositoryUri(String value)
Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];value - The repositoryUri to set.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearRepositoryUri()
Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setRepositoryUriBytes(com.google.protobuf.ByteString value)
Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for repositoryUri to set.public String getTrackingBranch()
Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];getTrackingBranch in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic com.google.protobuf.ByteString getTrackingBranchBytes()
Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];getTrackingBranchBytes in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic Agent.GitIntegrationSettings.GitConnectionSettings.Builder setTrackingBranch(String value)
Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];value - The trackingBranch to set.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearTrackingBranch()
Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setTrackingBranchBytes(com.google.protobuf.ByteString value)
Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for trackingBranch to set.public com.google.protobuf.ProtocolStringList getBranchesList()
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];getBranchesList in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic int getBranchesCount()
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];getBranchesCount in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic String getBranches(int index)
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];getBranches in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getBranchesBytes(int index)
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];getBranchesBytes in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderindex - The index of the value to return.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setBranches(int index, String value)
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The branches to set.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder addBranches(String value)
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];value - The branches to add.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder addAllBranches(Iterable<String> values)
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];values - The branches to add.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearBranches()
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];public Agent.GitIntegrationSettings.GitConnectionSettings.Builder addBranchesBytes(com.google.protobuf.ByteString value)
Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the branches to add.public boolean hasAccessTokenSecret()
The name of the SecretManager secret version resource storing the
git access token.
Format: `projects/{project}/secrets/{secret}/versions/{version}`
string access_token_secret = 5 [(.google.api.resource_reference) = { ... }hasAccessTokenSecret in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic String getAccessTokenSecret()
The name of the SecretManager secret version resource storing the
git access token.
Format: `projects/{project}/secrets/{secret}/versions/{version}`
string access_token_secret = 5 [(.google.api.resource_reference) = { ... }getAccessTokenSecret in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic com.google.protobuf.ByteString getAccessTokenSecretBytes()
The name of the SecretManager secret version resource storing the
git access token.
Format: `projects/{project}/secrets/{secret}/versions/{version}`
string access_token_secret = 5 [(.google.api.resource_reference) = { ... }getAccessTokenSecretBytes in interface Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderpublic Agent.GitIntegrationSettings.GitConnectionSettings.Builder setAccessTokenSecret(String value)
The name of the SecretManager secret version resource storing the
git access token.
Format: `projects/{project}/secrets/{secret}/versions/{version}`
string access_token_secret = 5 [(.google.api.resource_reference) = { ... }value - The accessTokenSecret to set.public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearAccessTokenSecret()
The name of the SecretManager secret version resource storing the
git access token.
Format: `projects/{project}/secrets/{secret}/versions/{version}`
string access_token_secret = 5 [(.google.api.resource_reference) = { ... }public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setAccessTokenSecretBytes(com.google.protobuf.ByteString value)
The name of the SecretManager secret version resource storing the
git access token.
Format: `projects/{project}/secrets/{secret}/versions/{version}`
string access_token_secret = 5 [(.google.api.resource_reference) = { ... }value - The bytes for accessTokenSecret to set.public final Agent.GitIntegrationSettings.GitConnectionSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>public final Agent.GitIntegrationSettings.GitConnectionSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder>Copyright © 2025 Google LLC. All rights reserved.