public final class Curation extends GeneratedMessageV3 implements CurationOrBuilder
A curation resource in the API Hub.
Protobuf type google.cloud.apihub.v1.Curation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_EXECUTION_ERROR_CODE_FIELD_NUMBER
public static final int LAST_EXECUTION_ERROR_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_EXECUTION_ERROR_MESSAGE_FIELD_NUMBER
public static final int LAST_EXECUTION_ERROR_MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_EXECUTION_STATE_FIELD_NUMBER
public static final int LAST_EXECUTION_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PLUGIN_INSTANCE_ACTIONS_FIELD_NUMBER
public static final int PLUGIN_INSTANCE_ACTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Curation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Curation.Builder newBuilder()
newBuilder(Curation prototype)
public static Curation.Builder newBuilder(Curation prototype)
Parameter |
Name |
Description |
prototype |
Curation
|
public static Curation parseDelimitedFrom(InputStream input)
public static Curation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Curation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Curation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Curation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Curation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Curation parseFrom(CodedInputStream input)
public static Curation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Curation parseFrom(InputStream input)
public static Curation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Curation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Curation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Curation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which the curation was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the curation was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Curation getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. The description of the curation.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. The description of the curation.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
Required. The display name of the curation.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of the curation.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getEndpoint()
public Endpoint getEndpoint()
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Endpoint |
The endpoint.
|
getEndpointOrBuilder()
public EndpointOrBuilder getEndpointOrBuilder()
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
getLastExecutionErrorCode()
public Curation.ErrorCode getLastExecutionErrorCode()
Output only. The error code of the last execution of the curation. The
error code is populated only when the last execution state is failed.
.google.cloud.apihub.v1.Curation.ErrorCode last_execution_error_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastExecutionErrorCodeValue()
public int getLastExecutionErrorCodeValue()
Output only. The error code of the last execution of the curation. The
error code is populated only when the last execution state is failed.
.google.cloud.apihub.v1.Curation.ErrorCode last_execution_error_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for lastExecutionErrorCode.
|
getLastExecutionErrorMessage()
public String getLastExecutionErrorMessage()
Output only. Error message describing the failure, if any, during the last
execution of the curation.
string last_execution_error_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The lastExecutionErrorMessage.
|
getLastExecutionErrorMessageBytes()
public ByteString getLastExecutionErrorMessageBytes()
Output only. Error message describing the failure, if any, during the last
execution of the curation.
string last_execution_error_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for lastExecutionErrorMessage.
|
getLastExecutionState()
public Curation.LastExecutionState getLastExecutionState()
Output only. The last execution state of the curation.
.google.cloud.apihub.v1.Curation.LastExecutionState last_execution_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastExecutionStateValue()
public int getLastExecutionStateValue()
Output only. The last execution state of the curation.
.google.cloud.apihub.v1.Curation.LastExecutionState last_execution_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for lastExecutionState.
|
getName()
Identifier. The name of the curation.
Format:
projects/{project}/locations/{location}/curations/{curation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The name of the curation.
Format:
projects/{project}/locations/{location}/curations/{curation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<Curation> getParserForType()
Overrides
getPluginInstanceActions(int index)
public Curation.PluginInstanceActionID getPluginInstanceActions(int index)
Output only. The plugin instances and associated actions that are using the
curation. Note: A particular curation could be used by multiple plugin
instances or multiple actions in a plugin instance.
repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getPluginInstanceActionsCount()
public int getPluginInstanceActionsCount()
Output only. The plugin instances and associated actions that are using the
curation. Note: A particular curation could be used by multiple plugin
instances or multiple actions in a plugin instance.
repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getPluginInstanceActionsList()
public List<Curation.PluginInstanceActionID> getPluginInstanceActionsList()
Output only. The plugin instances and associated actions that are using the
curation. Note: A particular curation could be used by multiple plugin
instances or multiple actions in a plugin instance.
repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPluginInstanceActionsOrBuilder(int index)
public Curation.PluginInstanceActionIDOrBuilder getPluginInstanceActionsOrBuilder(int index)
Output only. The plugin instances and associated actions that are using the
curation. Note: A particular curation could be used by multiple plugin
instances or multiple actions in a plugin instance.
repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getPluginInstanceActionsOrBuilderList()
public List<? extends Curation.PluginInstanceActionIDOrBuilder> getPluginInstanceActionsOrBuilderList()
Output only. The plugin instances and associated actions that are using the
curation. Note: A particular curation could be used by multiple plugin
instances or multiple actions in a plugin instance.
repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.apihub.v1.Curation.PluginInstanceActionIDOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time at which the curation was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which the curation was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. The time at which the curation was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasEndpoint()
public boolean hasEndpoint()
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the endpoint field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time at which the curation was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Curation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Curation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Curation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides