Class CompareVersionsResponse.Builder (0.53.0)

public static final class CompareVersionsResponse.Builder extends GeneratedMessageV3.Builder<CompareVersionsResponse.Builder> implements CompareVersionsResponseOrBuilder

The response message for Versions.CompareVersions.

Protobuf type google.cloud.dialogflow.cx.v3beta1.CompareVersionsResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompareVersionsResponse build()
Returns
Type Description
CompareVersionsResponse

buildPartial()

public CompareVersionsResponse buildPartial()
Returns
Type Description
CompareVersionsResponse

clear()

public CompareVersionsResponse.Builder clear()
Returns
Type Description
CompareVersionsResponse.Builder
Overrides

clearBaseVersionContentJson()

public CompareVersionsResponse.Builder clearBaseVersionContentJson()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
Type Description
CompareVersionsResponse.Builder

This builder for chaining.

clearCompareTime()

public CompareVersionsResponse.Builder clearCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
CompareVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetVersionContentJson()

public CompareVersionsResponse.Builder clearTargetVersionContentJson()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
Type Description
CompareVersionsResponse.Builder

This builder for chaining.

clone()

public CompareVersionsResponse.Builder clone()
Returns
Type Description
CompareVersionsResponse.Builder
Overrides

getBaseVersionContentJson()

public String getBaseVersionContentJson()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
Type Description
String

The baseVersionContentJson.

getBaseVersionContentJsonBytes()

public ByteString getBaseVersionContentJsonBytes()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
Type Description
ByteString

The bytes for baseVersionContentJson.

getCompareTime()

public Timestamp getCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
Timestamp

The compareTime.

getCompareTimeBuilder()

public Timestamp.Builder getCompareTimeBuilder()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
Builder

getCompareTimeOrBuilder()

public TimestampOrBuilder getCompareTimeOrBuilder()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CompareVersionsResponse getDefaultInstanceForType()
Returns
Type Description
CompareVersionsResponse

getDescriptorForType()

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

getTargetVersionContentJson()

public String getTargetVersionContentJson()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
Type Description
String

The targetVersionContentJson.

getTargetVersionContentJsonBytes()

public ByteString getTargetVersionContentJsonBytes()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
Type Description
ByteString

The bytes for targetVersionContentJson.

hasCompareTime()

public boolean hasCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
Type Description
boolean

Whether the compareTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompareTime(Timestamp value)

public CompareVersionsResponse.Builder mergeCompareTime(Timestamp value)

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CompareVersionsResponse.Builder

mergeFrom(CompareVersionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBaseVersionContentJson(String value)

public CompareVersionsResponse.Builder setBaseVersionContentJson(String value)

JSON representation of the base version content.

string base_version_content_json = 1;

Parameter
Name Description
value String

The baseVersionContentJson to set.

Returns
Type Description
CompareVersionsResponse.Builder

This builder for chaining.

setBaseVersionContentJsonBytes(ByteString value)

public CompareVersionsResponse.Builder setBaseVersionContentJsonBytes(ByteString value)

JSON representation of the base version content.

string base_version_content_json = 1;

Parameter
Name Description
value ByteString

The bytes for baseVersionContentJson to set.

Returns
Type Description
CompareVersionsResponse.Builder

This builder for chaining.

setCompareTime(Timestamp value)

public CompareVersionsResponse.Builder setCompareTime(Timestamp value)

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CompareVersionsResponse.Builder

setCompareTime(Timestamp.Builder builderForValue)

public CompareVersionsResponse.Builder setCompareTime(Timestamp.Builder builderForValue)

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CompareVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetVersionContentJson(String value)

public CompareVersionsResponse.Builder setTargetVersionContentJson(String value)

JSON representation of the target version content.

string target_version_content_json = 2;

Parameter
Name Description
value String

The targetVersionContentJson to set.

Returns
Type Description
CompareVersionsResponse.Builder

This builder for chaining.

setTargetVersionContentJsonBytes(ByteString value)

public CompareVersionsResponse.Builder setTargetVersionContentJsonBytes(ByteString value)

JSON representation of the target version content.

string target_version_content_json = 2;

Parameter
Name Description
value ByteString

The bytes for targetVersionContentJson to set.

Returns
Type Description
CompareVersionsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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