Class Agent.GitIntegrationSettings.GithubSettings (0.65.0)

public static final class Agent.GitIntegrationSettings.GithubSettings extends GeneratedMessageV3 implements Agent.GitIntegrationSettings.GithubSettingsOrBuilder

Settings of integration with GitHub.

Protobuf type google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings.GithubSettings

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Agent.GitIntegrationSettings.GithubSettings

Static Fields

ACCESS_TOKEN_FIELD_NUMBER

public static final int ACCESS_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

BRANCHES_FIELD_NUMBER

public static final int BRANCHES_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

REPOSITORY_URI_FIELD_NUMBER

public static final int REPOSITORY_URI_FIELD_NUMBER
Field Value
Type Description
int

TRACKING_BRANCH_FIELD_NUMBER

public static final int TRACKING_BRANCH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Agent.GitIntegrationSettings.GithubSettings getDefaultInstance()
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Agent.GitIntegrationSettings.GithubSettings.Builder newBuilder()
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings.Builder

newBuilder(Agent.GitIntegrationSettings.GithubSettings prototype)

public static Agent.GitIntegrationSettings.GithubSettings.Builder newBuilder(Agent.GitIntegrationSettings.GithubSettings prototype)
Parameter
Name Description
prototype Agent.GitIntegrationSettings.GithubSettings
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings.Builder

parseDelimitedFrom(InputStream input)

public static Agent.GitIntegrationSettings.GithubSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Agent.GitIntegrationSettings.GithubSettings> parser()
Returns
Type Description
Parser<GithubSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccessToken()

public String getAccessToken()

The access token used to authenticate the access to the GitHub repository.

string access_token = 4;

Returns
Type Description
String

The accessToken.

getAccessTokenBytes()

public ByteString getAccessTokenBytes()

The access token used to authenticate the access to the GitHub repository.

string access_token = 4;

Returns
Type Description
ByteString

The bytes for accessToken.

getBranches(int index)

public String getBranches(int index)

A list of branches configured to be used from Dialogflow.

repeated string branches = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The branches at the given index.

getBranchesBytes(int index)

public ByteString getBranchesBytes(int index)

A list of branches configured to be used from Dialogflow.

repeated string branches = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the branches at the given index.

getBranchesCount()

public int getBranchesCount()

A list of branches configured to be used from Dialogflow.

repeated string branches = 5;

Returns
Type Description
int

The count of branches.

getBranchesList()

public ProtocolStringList getBranchesList()

A list of branches configured to be used from Dialogflow.

repeated string branches = 5;

Returns
Type Description
ProtocolStringList

A list containing the branches.

getDefaultInstanceForType()

public Agent.GitIntegrationSettings.GithubSettings getDefaultInstanceForType()
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings

getDisplayName()

public String getDisplayName()

The unique repository display name for the GitHub repository.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The unique repository display name for the GitHub repository.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

public Parser<Agent.GitIntegrationSettings.GithubSettings> getParserForType()
Returns
Type Description
Parser<GithubSettings>
Overrides

getRepositoryUri()

public String getRepositoryUri()

The GitHub repository URI related to the agent.

string repository_uri = 2;

Returns
Type Description
String

The repositoryUri.

getRepositoryUriBytes()

public ByteString getRepositoryUriBytes()

The GitHub repository URI related to the agent.

string repository_uri = 2;

Returns
Type Description
ByteString

The bytes for repositoryUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTrackingBranch()

public String getTrackingBranch()

The branch of the GitHub repository tracked for this agent.

string tracking_branch = 3;

Returns
Type Description
String

The trackingBranch.

getTrackingBranchBytes()

public ByteString getTrackingBranchBytes()

The branch of the GitHub repository tracked for this agent.

string tracking_branch = 3;

Returns
Type Description
ByteString

The bytes for trackingBranch.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Agent.GitIntegrationSettings.GithubSettings.Builder newBuilderForType()
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Agent.GitIntegrationSettings.GithubSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Agent.GitIntegrationSettings.GithubSettings.Builder toBuilder()
Returns
Type Description
Agent.GitIntegrationSettings.GithubSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException