Class CompareVersionsResponse.Builder (0.14.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompareVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

build()

public CompareVersionsResponse build()
Returns
TypeDescription
CompareVersionsResponse

buildPartial()

public CompareVersionsResponse buildPartial()
Returns
TypeDescription
CompareVersionsResponse

clear()

public CompareVersionsResponse.Builder clear()
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

clearBaseVersionContentJson()

public CompareVersionsResponse.Builder clearBaseVersionContentJson()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
TypeDescription
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
TypeDescription
CompareVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public CompareVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CompareVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

clearTargetVersionContentJson()

public CompareVersionsResponse.Builder clearTargetVersionContentJson()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
TypeDescription
CompareVersionsResponse.Builder

This builder for chaining.

clone()

public CompareVersionsResponse.Builder clone()
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

getBaseVersionContentJson()

public String getBaseVersionContentJson()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
TypeDescription
String

The baseVersionContentJson.

getBaseVersionContentJsonBytes()

public ByteString getBaseVersionContentJsonBytes()

JSON representation of the base version content.

string base_version_content_json = 1;

Returns
TypeDescription
ByteString

The bytes for baseVersionContentJson.

getCompareTime()

public Timestamp getCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
TypeDescription
Timestamp

The compareTime.

getCompareTimeBuilder()

public Timestamp.Builder getCompareTimeBuilder()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
TypeDescription
Builder

getCompareTimeOrBuilder()

public TimestampOrBuilder getCompareTimeOrBuilder()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CompareVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
CompareVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTargetVersionContentJson()

public String getTargetVersionContentJson()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
TypeDescription
String

The targetVersionContentJson.

getTargetVersionContentJsonBytes()

public ByteString getTargetVersionContentJsonBytes()

JSON representation of the target version content.

string target_version_content_json = 2;

Returns
TypeDescription
ByteString

The bytes for targetVersionContentJson.

hasCompareTime()

public boolean hasCompareTime()

The timestamp when the two version compares.

.google.protobuf.Timestamp compare_time = 3;

Returns
TypeDescription
boolean

Whether the compareTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CompareVersionsResponse.Builder

mergeFrom(CompareVersionsResponse other)

public CompareVersionsResponse.Builder mergeFrom(CompareVersionsResponse other)
Parameter
NameDescription
otherCompareVersionsResponse
Returns
TypeDescription
CompareVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompareVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CompareVersionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompareVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The baseVersionContentJson to set.

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

The bytes for baseVersionContentJson to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CompareVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CompareVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides

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

public CompareVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The targetVersionContentJson to set.

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

The bytes for targetVersionContentJson to set.

Returns
TypeDescription
CompareVersionsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompareVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompareVersionsResponse.Builder
Overrides