- 0.87.0 (latest)
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Agent.GitIntegrationSettings.GitConnectionSettings.Builder extends GeneratedMessageV3.Builder<Agent.GitIntegrationSettings.GitConnectionSettings.Builder> implements Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilderIntegration settings for a Git service hosted on Cloud Run.
Protobuf type
google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings.GitConnectionSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Agent.GitIntegrationSettings.GitConnectionSettings.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBranches(Iterable<String> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The branches to add. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
addBranches(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe branches to add. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
addBranchesBytes(ByteString value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder addBranchesBytes(ByteString value)Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the branches to add. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
build()
public Agent.GitIntegrationSettings.GitConnectionSettings build()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings |
|
buildPartial()
public Agent.GitIntegrationSettings.GitConnectionSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings |
|
clear()
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
clearAccessTokenSecret()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
clearBranches()
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearBranches()Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
clearDisplayName()
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearDisplayName()Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
clearGitAuthentication()
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearGitAuthentication()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
clearRepositoryUri()
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearRepositoryUri()Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
clearTrackingBranch()
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clearTrackingBranch()Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
clone()
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder clone()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
getAccessTokenSecret()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The accessTokenSecret. |
getAccessTokenSecretBytes()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for accessTokenSecret. |
getBranches(int index)
public String getBranches(int index)Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The branches at the given index. |
getBranchesBytes(int index)
public ByteString getBranchesBytes(int index)Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the branches at the given index. |
getBranchesCount()
public int getBranchesCount()Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of branches. |
getBranchesList()
public ProtocolStringList getBranchesList()Optional. List of branches configured for the repository.
repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the branches. |
getDefaultInstanceForType()
public Agent.GitIntegrationSettings.GitConnectionSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getGitAuthenticationCase()
public Agent.GitIntegrationSettings.GitConnectionSettings.GitAuthenticationCase getGitAuthenticationCase()| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.GitAuthenticationCase |
|
getRepositoryUri()
public String getRepositoryUri()Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The repositoryUri. |
getRepositoryUriBytes()
public ByteString getRepositoryUriBytes()Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repositoryUri. |
getTrackingBranch()
public String getTrackingBranch()Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The trackingBranch. |
getTrackingBranchBytes()
public ByteString getTrackingBranchBytes()Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for trackingBranch. |
hasAccessTokenSecret()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the accessTokenSecret field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Agent.GitIntegrationSettings.GitConnectionSettings other)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder mergeFrom(Agent.GitIntegrationSettings.GitConnectionSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
Agent.GitIntegrationSettings.GitConnectionSettings |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Agent.GitIntegrationSettings.GitConnectionSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
setAccessTokenSecret(String value)
public 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe accessTokenSecret to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setAccessTokenSecretBytes(ByteString value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setAccessTokenSecretBytes(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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for accessTokenSecret to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setBranches(int index, String value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe branches to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setDisplayName(String value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setDisplayName(String value)Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setDisplayNameBytes(ByteString value)Required. Display name for the repository
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|
setRepositoryUri(String value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setRepositoryUri(String value)Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe repositoryUri to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setRepositoryUriBytes(ByteString value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setRepositoryUriBytes(ByteString value)Required. Git server reporitory URI.
string repository_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for repositoryUri to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setTrackingBranch(String value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setTrackingBranch(String value)Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe trackingBranch to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setTrackingBranchBytes(ByteString value)
public Agent.GitIntegrationSettings.GitConnectionSettings.Builder setTrackingBranchBytes(ByteString value)Required. Default branch of the repository.
string tracking_branch = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for trackingBranch to set. |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Agent.GitIntegrationSettings.GitConnectionSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Agent.GitIntegrationSettings.GitConnectionSettings.Builder |
|