public final class CompareVersionsResponse extends GeneratedMessageV3 implements CompareVersionsResponseOrBuilder
The response message for
Versions.CompareVersions.
Protobuf type google.cloud.dialogflow.cx.v3beta1.CompareVersionsResponse
Static Fields
BASE_VERSION_CONTENT_JSON_FIELD_NUMBER
public static final int BASE_VERSION_CONTENT_JSON_FIELD_NUMBER
Field Value
COMPARE_TIME_FIELD_NUMBER
public static final int COMPARE_TIME_FIELD_NUMBER
Field Value
TARGET_VERSION_CONTENT_JSON_FIELD_NUMBER
public static final int TARGET_VERSION_CONTENT_JSON_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CompareVersionsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CompareVersionsResponse.Builder newBuilder()
Returns
newBuilder(CompareVersionsResponse prototype)
public static CompareVersionsResponse.Builder newBuilder(CompareVersionsResponse prototype)
Parameter
Returns
public static CompareVersionsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompareVersionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CompareVersionsResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CompareVersionsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompareVersionsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CompareVersionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompareVersionsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompareVersionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CompareVersionsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompareVersionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CompareVersionsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
getCompareTimeOrBuilder()
public TimestampOrBuilder getCompareTimeOrBuilder()
The timestamp when the two version compares.
.google.protobuf.Timestamp compare_time = 3;
Returns
getDefaultInstanceForType()
public CompareVersionsResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CompareVersionsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CompareVersionsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CompareVersionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CompareVersionsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions