Class RestoreAgentRequest.GitSource.Builder (0.66.0)

public static final class RestoreAgentRequest.GitSource.Builder extends GeneratedMessageV3.Builder<RestoreAgentRequest.GitSource.Builder> implements RestoreAgentRequest.GitSourceOrBuilder

Settings for restoring from a git branch

Protobuf type google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestoreAgentRequest.GitSource build()
Returns
Type Description
RestoreAgentRequest.GitSource

buildPartial()

public RestoreAgentRequest.GitSource buildPartial()
Returns
Type Description
RestoreAgentRequest.GitSource

clear()

public RestoreAgentRequest.GitSource.Builder clear()
Returns
Type Description
RestoreAgentRequest.GitSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RestoreAgentRequest.GitSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RestoreAgentRequest.GitSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RestoreAgentRequest.GitSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RestoreAgentRequest.GitSource.Builder
Overrides

clearTrackingBranch()

public RestoreAgentRequest.GitSource.Builder clearTrackingBranch()

tracking branch for the git pull

string tracking_branch = 1;

Returns
Type Description
RestoreAgentRequest.GitSource.Builder

This builder for chaining.

clone()

public RestoreAgentRequest.GitSource.Builder clone()
Returns
Type Description
RestoreAgentRequest.GitSource.Builder
Overrides

getDefaultInstanceForType()

public RestoreAgentRequest.GitSource getDefaultInstanceForType()
Returns
Type Description
RestoreAgentRequest.GitSource

getDescriptorForType()

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

getTrackingBranch()

public String getTrackingBranch()

tracking branch for the git pull

string tracking_branch = 1;

Returns
Type Description
String

The trackingBranch.

getTrackingBranchBytes()

public ByteString getTrackingBranchBytes()

tracking branch for the git pull

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(RestoreAgentRequest.GitSource other)

public RestoreAgentRequest.GitSource.Builder mergeFrom(RestoreAgentRequest.GitSource other)
Parameter
Name Description
other RestoreAgentRequest.GitSource
Returns
Type Description
RestoreAgentRequest.GitSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RestoreAgentRequest.GitSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RestoreAgentRequest.GitSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RestoreAgentRequest.GitSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreAgentRequest.GitSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTrackingBranch(String value)

public RestoreAgentRequest.GitSource.Builder setTrackingBranch(String value)

tracking branch for the git pull

string tracking_branch = 1;

Parameter
Name Description
value String

The trackingBranch to set.

Returns
Type Description
RestoreAgentRequest.GitSource.Builder

This builder for chaining.

setTrackingBranchBytes(ByteString value)

public RestoreAgentRequest.GitSource.Builder setTrackingBranchBytes(ByteString value)

tracking branch for the git pull

string tracking_branch = 1;

Parameter
Name Description
value ByteString

The bytes for trackingBranch to set.

Returns
Type Description
RestoreAgentRequest.GitSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RestoreAgentRequest.GitSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreAgentRequest.GitSource.Builder
Overrides