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.v3.CompareVersionsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompareVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CompareVersionsResponse build()
Returns
buildPartial()
public CompareVersionsResponse buildPartial()
Returns
clear()
public CompareVersionsResponse.Builder clear()
Returns
Overrides
clearBaseVersionContentJson()
public CompareVersionsResponse.Builder clearBaseVersionContentJson()
JSON representation of the base version content.
string base_version_content_json = 1;
Returns
clearCompareTime()
public CompareVersionsResponse.Builder clearCompareTime()
The timestamp when the two version compares.
.google.protobuf.Timestamp compare_time = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public CompareVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CompareVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTargetVersionContentJson()
public CompareVersionsResponse.Builder clearTargetVersionContentJson()
JSON representation of the target version content.
string target_version_content_json = 2;
Returns
clone()
public CompareVersionsResponse.Builder clone()
Returns
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
getCompareTimeBuilder()
public Timestamp.Builder getCompareTimeBuilder()
The timestamp when the two version compares.
.google.protobuf.Timestamp compare_time = 3;
Returns
getCompareTimeOrBuilder()
public TimestampOrBuilder getCompareTimeOrBuilder()
The timestamp when the two version compares.
.google.protobuf.Timestamp compare_time = 3;
Returns
getDefaultInstanceForType()
public CompareVersionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCompareTime(Timestamp value)
public CompareVersionsResponse.Builder mergeCompareTime(Timestamp value)
The timestamp when the two version compares.
.google.protobuf.Timestamp compare_time = 3;
Parameter
Returns
mergeFrom(CompareVersionsResponse other)
public CompareVersionsResponse.Builder mergeFrom(CompareVersionsResponse other)
Parameter
Returns
public CompareVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CompareVersionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompareVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setCompareTime(Timestamp value)
public CompareVersionsResponse.Builder setCompareTime(Timestamp value)
The timestamp when the two version compares.
.google.protobuf.Timestamp compare_time = 3;
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public CompareVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompareVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final CompareVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides