Class ExportAgentRequest.GitDestination.Builder (0.55.0)

public static final class ExportAgentRequest.GitDestination.Builder extends GeneratedMessageV3.Builder<ExportAgentRequest.GitDestination.Builder> implements ExportAgentRequest.GitDestinationOrBuilder

Settings for exporting to a git branch.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportAgentRequest.GitDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

build()

public ExportAgentRequest.GitDestination build()
Returns
Type Description
ExportAgentRequest.GitDestination

buildPartial()

public ExportAgentRequest.GitDestination buildPartial()
Returns
Type Description
ExportAgentRequest.GitDestination

clear()

public ExportAgentRequest.GitDestination.Builder clear()
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

clearCommitMessage()

public ExportAgentRequest.GitDestination.Builder clearCommitMessage()

Commit message for the git push.

string commit_message = 2;

Returns
Type Description
ExportAgentRequest.GitDestination.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportAgentRequest.GitDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportAgentRequest.GitDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

clearTrackingBranch()

public ExportAgentRequest.GitDestination.Builder clearTrackingBranch()

Tracking branch for the git push.

string tracking_branch = 1;

Returns
Type Description
ExportAgentRequest.GitDestination.Builder

This builder for chaining.

clone()

public ExportAgentRequest.GitDestination.Builder clone()
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

getCommitMessage()

public String getCommitMessage()

Commit message for the git push.

string commit_message = 2;

Returns
Type Description
String

The commitMessage.

getCommitMessageBytes()

public ByteString getCommitMessageBytes()

Commit message for the git push.

string commit_message = 2;

Returns
Type Description
ByteString

The bytes for commitMessage.

getDefaultInstanceForType()

public ExportAgentRequest.GitDestination getDefaultInstanceForType()
Returns
Type Description
ExportAgentRequest.GitDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTrackingBranch()

public String getTrackingBranch()

Tracking branch for the git push.

string tracking_branch = 1;

Returns
Type Description
String

The trackingBranch.

getTrackingBranchBytes()

public ByteString getTrackingBranchBytes()

Tracking branch for the git push.

string tracking_branch = 1;

Returns
Type Description
ByteString

The bytes for trackingBranch.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportAgentRequest.GitDestination other)

public ExportAgentRequest.GitDestination.Builder mergeFrom(ExportAgentRequest.GitDestination other)
Parameter
Name Description
other ExportAgentRequest.GitDestination
Returns
Type Description
ExportAgentRequest.GitDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportAgentRequest.GitDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportAgentRequest.GitDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportAgentRequest.GitDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

setCommitMessage(String value)

public ExportAgentRequest.GitDestination.Builder setCommitMessage(String value)

Commit message for the git push.

string commit_message = 2;

Parameter
Name Description
value String

The commitMessage to set.

Returns
Type Description
ExportAgentRequest.GitDestination.Builder

This builder for chaining.

setCommitMessageBytes(ByteString value)

public ExportAgentRequest.GitDestination.Builder setCommitMessageBytes(ByteString value)

Commit message for the git push.

string commit_message = 2;

Parameter
Name Description
value ByteString

The bytes for commitMessage to set.

Returns
Type Description
ExportAgentRequest.GitDestination.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportAgentRequest.GitDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportAgentRequest.GitDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides

setTrackingBranch(String value)

public ExportAgentRequest.GitDestination.Builder setTrackingBranch(String value)

Tracking branch for the git push.

string tracking_branch = 1;

Parameter
Name Description
value String

The trackingBranch to set.

Returns
Type Description
ExportAgentRequest.GitDestination.Builder

This builder for chaining.

setTrackingBranchBytes(ByteString value)

public ExportAgentRequest.GitDestination.Builder setTrackingBranchBytes(ByteString value)

Tracking branch for the git push.

string tracking_branch = 1;

Parameter
Name Description
value ByteString

The bytes for trackingBranch to set.

Returns
Type Description
ExportAgentRequest.GitDestination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportAgentRequest.GitDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportAgentRequest.GitDestination.Builder
Overrides