Class Agent.GitIntegrationSettings.GitConnectionSettings (0.71.0)

public static final class Agent.GitIntegrationSettings.GitConnectionSettings extends GeneratedMessageV3 implements Agent.GitIntegrationSettings.GitConnectionSettingsOrBuilder

Integration settings for a Git service hosted on Cloud Run.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings.GitConnectionSettings

Inheritance

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

Static Fields

ACCESS_TOKEN_SECRET_FIELD_NUMBER

public static final int ACCESS_TOKEN_SECRET_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.GitConnectionSettings getDefaultInstance()
Returns
Type Description
Agent.GitIntegrationSettings.GitConnectionSettings

getDescriptor()

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

newBuilder()

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

newBuilder(Agent.GitIntegrationSettings.GitConnectionSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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 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)

Optional. List of branches configured for the repository.

repeated string branches = 4 [(.google.api.field_behavior) = OPTIONAL];

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()

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

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

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.GitConnectionSettings.Builder newBuilderForType()
Returns
Type Description
Agent.GitIntegrationSettings.GitConnectionSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Agent.GitIntegrationSettings.GitConnectionSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Agent.GitIntegrationSettings.GitConnectionSettings.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.GitConnectionSettings.Builder toBuilder()
Returns
Type Description
Agent.GitIntegrationSettings.GitConnectionSettings.Builder

writeTo(CodedOutputStream output)

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