Class Agent.GitIntegrationSettings.GithubSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings.GithubSettings.Builder
- All Implemented Interfaces:
Agent.GitIntegrationSettings.GithubSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Agent.GitIntegrationSettings.GithubSettings
public static final class Agent.GitIntegrationSettings.GithubSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>
implements Agent.GitIntegrationSettings.GithubSettingsOrBuilder
Settings of integration with GitHub.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings.GithubSettings-
Method Summary
Modifier and TypeMethodDescriptionaddAllBranches(Iterable<String> values) A list of branches configured to be used from Dialogflow.addBranches(String value) A list of branches configured to be used from Dialogflow.addBranchesBytes(com.google.protobuf.ByteString value) A list of branches configured to be used from Dialogflow.build()clear()The access token used to authenticate the access to the GitHub repository.A list of branches configured to be used from Dialogflow.The unique repository display name for the GitHub repository.The GitHub repository URI related to the agent.The branch of the GitHub repository tracked for this agent.The access token used to authenticate the access to the GitHub repository.com.google.protobuf.ByteStringThe access token used to authenticate the access to the GitHub repository.getBranches(int index) A list of branches configured to be used from Dialogflow.com.google.protobuf.ByteStringgetBranchesBytes(int index) A list of branches configured to be used from Dialogflow.intA list of branches configured to be used from Dialogflow.com.google.protobuf.ProtocolStringListA list of branches configured to be used from Dialogflow.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe unique repository display name for the GitHub repository.com.google.protobuf.ByteStringThe unique repository display name for the GitHub repository.The GitHub repository URI related to the agent.com.google.protobuf.ByteStringThe GitHub repository URI related to the agent.The branch of the GitHub repository tracked for this agent.com.google.protobuf.ByteStringThe branch of the GitHub repository tracked for this agent.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAccessToken(String value) The access token used to authenticate the access to the GitHub repository.setAccessTokenBytes(com.google.protobuf.ByteString value) The access token used to authenticate the access to the GitHub repository.setBranches(int index, String value) A list of branches configured to be used from Dialogflow.setDisplayName(String value) The unique repository display name for the GitHub repository.setDisplayNameBytes(com.google.protobuf.ByteString value) The unique repository display name for the GitHub repository.setRepositoryUri(String value) The GitHub repository URI related to the agent.setRepositoryUriBytes(com.google.protobuf.ByteString value) The GitHub repository URI related to the agent.setTrackingBranch(String value) The branch of the GitHub repository tracked for this agent.setTrackingBranchBytes(com.google.protobuf.ByteString value) The branch of the GitHub repository tracked for this agent.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Agent.GitIntegrationSettings.GithubSettings.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>
-
mergeFrom
public Agent.GitIntegrationSettings.GithubSettings.Builder mergeFrom(Agent.GitIntegrationSettings.GithubSettings other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>
-
mergeFrom
public Agent.GitIntegrationSettings.GithubSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Agent.GitIntegrationSettings.GithubSettings.Builder>- Throws:
IOException
-
getDisplayName
The unique repository display name for the GitHub repository.
string display_name = 1;- Specified by:
getDisplayNamein interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The unique repository display name for the GitHub repository.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The unique repository display name for the GitHub repository.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The unique repository display name for the GitHub repository.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Agent.GitIntegrationSettings.GithubSettings.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) The unique repository display name for the GitHub repository.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getRepositoryUri
The GitHub repository URI related to the agent.
string repository_uri = 2;- Specified by:
getRepositoryUriin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The repositoryUri.
-
getRepositoryUriBytes
public com.google.protobuf.ByteString getRepositoryUriBytes()The GitHub repository URI related to the agent.
string repository_uri = 2;- Specified by:
getRepositoryUriBytesin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The bytes for repositoryUri.
-
setRepositoryUri
The GitHub repository URI related to the agent.
string repository_uri = 2;- Parameters:
value- The repositoryUri to set.- Returns:
- This builder for chaining.
-
clearRepositoryUri
The GitHub repository URI related to the agent.
string repository_uri = 2;- Returns:
- This builder for chaining.
-
setRepositoryUriBytes
public Agent.GitIntegrationSettings.GithubSettings.Builder setRepositoryUriBytes(com.google.protobuf.ByteString value) The GitHub repository URI related to the agent.
string repository_uri = 2;- Parameters:
value- The bytes for repositoryUri to set.- Returns:
- This builder for chaining.
-
getTrackingBranch
The branch of the GitHub repository tracked for this agent.
string tracking_branch = 3;- Specified by:
getTrackingBranchin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The trackingBranch.
-
getTrackingBranchBytes
public com.google.protobuf.ByteString getTrackingBranchBytes()The branch of the GitHub repository tracked for this agent.
string tracking_branch = 3;- Specified by:
getTrackingBranchBytesin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The bytes for trackingBranch.
-
setTrackingBranch
The branch of the GitHub repository tracked for this agent.
string tracking_branch = 3;- Parameters:
value- The trackingBranch to set.- Returns:
- This builder for chaining.
-
clearTrackingBranch
The branch of the GitHub repository tracked for this agent.
string tracking_branch = 3;- Returns:
- This builder for chaining.
-
setTrackingBranchBytes
public Agent.GitIntegrationSettings.GithubSettings.Builder setTrackingBranchBytes(com.google.protobuf.ByteString value) The branch of the GitHub repository tracked for this agent.
string tracking_branch = 3;- Parameters:
value- The bytes for trackingBranch to set.- Returns:
- This builder for chaining.
-
getAccessToken
The access token used to authenticate the access to the GitHub repository.
string access_token = 4;- Specified by:
getAccessTokenin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The accessToken.
-
getAccessTokenBytes
public com.google.protobuf.ByteString getAccessTokenBytes()The access token used to authenticate the access to the GitHub repository.
string access_token = 4;- Specified by:
getAccessTokenBytesin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The bytes for accessToken.
-
setAccessToken
The access token used to authenticate the access to the GitHub repository.
string access_token = 4;- Parameters:
value- The accessToken to set.- Returns:
- This builder for chaining.
-
clearAccessToken
The access token used to authenticate the access to the GitHub repository.
string access_token = 4;- Returns:
- This builder for chaining.
-
setAccessTokenBytes
public Agent.GitIntegrationSettings.GithubSettings.Builder setAccessTokenBytes(com.google.protobuf.ByteString value) The access token used to authenticate the access to the GitHub repository.
string access_token = 4;- Parameters:
value- The bytes for accessToken to set.- Returns:
- This builder for chaining.
-
getBranchesList
public com.google.protobuf.ProtocolStringList getBranchesList()A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Specified by:
getBranchesListin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- A list containing the branches.
-
getBranchesCount
public int getBranchesCount()A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Specified by:
getBranchesCountin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Returns:
- The count of branches.
-
getBranches
A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Specified by:
getBranchesin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The branches at the given index.
-
getBranchesBytes
public com.google.protobuf.ByteString getBranchesBytes(int index) A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Specified by:
getBranchesBytesin interfaceAgent.GitIntegrationSettings.GithubSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the branches at the given index.
-
setBranches
A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Parameters:
index- The index to set the value at.value- The branches to set.- Returns:
- This builder for chaining.
-
addBranches
A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Parameters:
value- The branches to add.- Returns:
- This builder for chaining.
-
addAllBranches
A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Parameters:
values- The branches to add.- Returns:
- This builder for chaining.
-
clearBranches
A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Returns:
- This builder for chaining.
-
addBranchesBytes
public Agent.GitIntegrationSettings.GithubSettings.Builder addBranchesBytes(com.google.protobuf.ByteString value) A list of branches configured to be used from Dialogflow.
repeated string branches = 5;- Parameters:
value- The bytes of the branches to add.- Returns:
- This builder for chaining.
-