Class Agent.GitIntegrationSettings.GithubSettings (0.52.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
TypeDescription
int

BRANCHES_FIELD_NUMBER

public static final int BRANCHES_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

REPOSITORY_URI_FIELD_NUMBER

public static final int REPOSITORY_URI_FIELD_NUMBER
Field Value
TypeDescription
int

TRACKING_BRANCH_FIELD_NUMBER

public static final int TRACKING_BRANCH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Agent.GitIntegrationSettings.GithubSettings getDefaultInstance()
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Agent.GitIntegrationSettings.GithubSettings.Builder newBuilder()
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings.Builder

newBuilder(Agent.GitIntegrationSettings.GithubSettings prototype)

public static Agent.GitIntegrationSettings.GithubSettings.Builder newBuilder(Agent.GitIntegrationSettings.GithubSettings prototype)
Parameter
NameDescription
prototypeAgent.GitIntegrationSettings.GithubSettings
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings.Builder

parseDelimitedFrom(InputStream input)

public static Agent.GitIntegrationSettings.GithubSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Agent.GitIntegrationSettings.GithubSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccessToken()

public String getAccessToken()

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

string access_token = 4;

Returns
TypeDescription
String

The accessToken.

getAccessTokenBytes()

public ByteString getAccessTokenBytes()

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

string access_token = 4;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of branches.

getBranchesList()

public ProtocolStringList getBranchesList()

A list of branches configured to be used from Dialogflow.

repeated string branches = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the branches.

getDefaultInstanceForType()

public Agent.GitIntegrationSettings.GithubSettings getDefaultInstanceForType()
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings

getDisplayName()

public String getDisplayName()

The unique repository display name for the GitHub repository.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The unique repository display name for the GitHub repository.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getParserForType()

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

getRepositoryUri()

public String getRepositoryUri()

The GitHub repository URI related to the agent.

string repository_uri = 2;

Returns
TypeDescription
String

The repositoryUri.

getRepositoryUriBytes()

public ByteString getRepositoryUriBytes()

The GitHub repository URI related to the agent.

string repository_uri = 2;

Returns
TypeDescription
ByteString

The bytes for repositoryUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTrackingBranch()

public String getTrackingBranch()

The branch of the GitHub repository tracked for this agent.

string tracking_branch = 3;

Returns
TypeDescription
String

The trackingBranch.

getTrackingBranchBytes()

public ByteString getTrackingBranchBytes()

The branch of the GitHub repository tracked for this agent.

string tracking_branch = 3;

Returns
TypeDescription
ByteString

The bytes for trackingBranch.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Agent.GitIntegrationSettings.GithubSettings.Builder newBuilderForType()
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Agent.GitIntegrationSettings.GithubSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Agent.GitIntegrationSettings.GithubSettings.Builder toBuilder()
Returns
TypeDescription
Agent.GitIntegrationSettings.GithubSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException