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