public static final class Curation.Builder extends GeneratedMessageV3.Builder<Curation.Builder> implements CurationOrBuilder
A curation resource in the API Hub.
Protobuf type google.cloud.apihub.v1.Curation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Curation.BuilderImplements
CurationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPluginInstanceActions(Iterable<? extends Curation.PluginInstanceActionID> values)
public Curation.Builder addAllPluginInstanceActions(Iterable<? extends Curation.PluginInstanceActionID> values)
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 |
values |
Iterable<? extends com.google.cloud.apihub.v1.Curation.PluginInstanceActionID> |
Returns | |
---|---|
Type | Description |
Curation.Builder |
addPluginInstanceActions(Curation.PluginInstanceActionID value)
public Curation.Builder addPluginInstanceActions(Curation.PluginInstanceActionID value)
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 |
value |
Curation.PluginInstanceActionID |
Returns | |
---|---|
Type | Description |
Curation.Builder |
addPluginInstanceActions(Curation.PluginInstanceActionID.Builder builderForValue)
public Curation.Builder addPluginInstanceActions(Curation.PluginInstanceActionID.Builder builderForValue)
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 |
builderForValue |
Curation.PluginInstanceActionID.Builder |
Returns | |
---|---|
Type | Description |
Curation.Builder |
addPluginInstanceActions(int index, Curation.PluginInstanceActionID value)
public Curation.Builder addPluginInstanceActions(int index, Curation.PluginInstanceActionID value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Curation.PluginInstanceActionID |
Returns | |
---|---|
Type | Description |
Curation.Builder |
addPluginInstanceActions(int index, Curation.PluginInstanceActionID.Builder builderForValue)
public Curation.Builder addPluginInstanceActions(int index, Curation.PluginInstanceActionID.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Curation.PluginInstanceActionID.Builder |
Returns | |
---|---|
Type | Description |
Curation.Builder |
addPluginInstanceActionsBuilder()
public Curation.PluginInstanceActionID.Builder addPluginInstanceActionsBuilder()
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 |
Curation.PluginInstanceActionID.Builder |
addPluginInstanceActionsBuilder(int index)
public Curation.PluginInstanceActionID.Builder addPluginInstanceActionsBuilder(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 |
Returns | |
---|---|
Type | Description |
Curation.PluginInstanceActionID.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Curation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Curation.Builder |
build()
public Curation build()
Returns | |
---|---|
Type | Description |
Curation |
buildPartial()
public Curation buildPartial()
Returns | |
---|---|
Type | Description |
Curation |
clear()
public Curation.Builder clear()
Returns | |
---|---|
Type | Description |
Curation.Builder |
clearCreateTime()
public Curation.Builder clearCreateTime()
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 |
Curation.Builder |
clearDescription()
public Curation.Builder clearDescription()
Optional. The description of the curation.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
clearDisplayName()
public Curation.Builder clearDisplayName()
Required. The display name of the curation.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
clearEndpoint()
public Curation.Builder clearEndpoint()
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Curation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Curation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Curation.Builder |
clearLastExecutionErrorCode()
public Curation.Builder clearLastExecutionErrorCode()
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 |
Curation.Builder |
This builder for chaining. |
clearLastExecutionErrorMessage()
public Curation.Builder clearLastExecutionErrorMessage()
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 |
Curation.Builder |
This builder for chaining. |
clearLastExecutionState()
public Curation.Builder clearLastExecutionState()
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 |
Curation.Builder |
This builder for chaining. |
clearName()
public Curation.Builder clearName()
Identifier. The name of the curation.
Format:
projects/{project}/locations/{location}/curations/{curation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Curation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Curation.Builder |
clearPluginInstanceActions()
public Curation.Builder clearPluginInstanceActions()
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 |
Curation.Builder |
clearUpdateTime()
public Curation.Builder clearUpdateTime()
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 |
Curation.Builder |
clone()
public Curation.Builder clone()
Returns | |
---|---|
Type | Description |
Curation.Builder |
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
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 |
Builder |
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Curation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Curation |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getEndpointBuilder()
public Endpoint.Builder getEndpointBuilder()
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Endpoint.Builder |
getEndpointOrBuilder()
public EndpointOrBuilder getEndpointOrBuilder()
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
EndpointOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Curation.ErrorCode |
The lastExecutionErrorCode. |
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];
Returns | |
---|---|
Type | Description |
Curation.LastExecutionState |
The lastExecutionState. |
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()
public String 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. |
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 |
Returns | |
---|---|
Type | Description |
Curation.PluginInstanceActionID |
getPluginInstanceActionsBuilder(int index)
public Curation.PluginInstanceActionID.Builder getPluginInstanceActionsBuilder(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 |
Returns | |
---|---|
Type | Description |
Curation.PluginInstanceActionID.Builder |
getPluginInstanceActionsBuilderList()
public List<Curation.PluginInstanceActionID.Builder> getPluginInstanceActionsBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
List<PluginInstanceActionID> |
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 |
Returns | |
---|---|
Type | Description |
Curation.PluginInstanceActionIDOrBuilder |
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> |
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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
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 |
Builder |
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Curation.Builder mergeCreateTime(Timestamp value)
Output only. The time at which the curation was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Curation.Builder |
mergeEndpoint(Endpoint value)
public Curation.Builder mergeEndpoint(Endpoint value)
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Endpoint |
Returns | |
---|---|
Type | Description |
Curation.Builder |
mergeFrom(Curation other)
public Curation.Builder mergeFrom(Curation other)
Parameter | |
---|---|
Name | Description |
other |
Curation |
Returns | |
---|---|
Type | Description |
Curation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Curation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Curation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Curation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Curation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Curation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Curation.Builder |
mergeUpdateTime(Timestamp value)
public Curation.Builder mergeUpdateTime(Timestamp value)
Output only. The time at which the curation was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Curation.Builder |
removePluginInstanceActions(int index)
public Curation.Builder removePluginInstanceActions(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 |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setCreateTime(Timestamp value)
public Curation.Builder setCreateTime(Timestamp value)
Output only. The time at which the curation was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Curation.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time at which the curation was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setDescription(String value)
public Curation.Builder setDescription(String value)
Optional. The description of the curation.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Curation.Builder setDescriptionBytes(ByteString value)
Optional. The description of the curation.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setDisplayName(String value)
public Curation.Builder setDisplayName(String value)
Required. The display name of the curation.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Curation.Builder setDisplayNameBytes(ByteString value)
Required. The display name of the curation.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setEndpoint(Endpoint value)
public Curation.Builder setEndpoint(Endpoint value)
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Endpoint |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setEndpoint(Endpoint.Builder builderForValue)
public Curation.Builder setEndpoint(Endpoint.Builder builderForValue)
Required. The endpoint to be triggered for curation.
.google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Endpoint.Builder |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Curation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setLastExecutionErrorCode(Curation.ErrorCode value)
public Curation.Builder setLastExecutionErrorCode(Curation.ErrorCode value)
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];
Parameter | |
---|---|
Name | Description |
value |
Curation.ErrorCode The lastExecutionErrorCode to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setLastExecutionErrorCodeValue(int value)
public Curation.Builder setLastExecutionErrorCodeValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for lastExecutionErrorCode to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setLastExecutionErrorMessage(String value)
public Curation.Builder setLastExecutionErrorMessage(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The lastExecutionErrorMessage to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setLastExecutionErrorMessageBytes(ByteString value)
public Curation.Builder setLastExecutionErrorMessageBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for lastExecutionErrorMessage to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setLastExecutionState(Curation.LastExecutionState value)
public Curation.Builder setLastExecutionState(Curation.LastExecutionState value)
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];
Parameter | |
---|---|
Name | Description |
value |
Curation.LastExecutionState The lastExecutionState to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setLastExecutionStateValue(int value)
public Curation.Builder setLastExecutionStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for lastExecutionState to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setName(String value)
public Curation.Builder setName(String value)
Identifier. The name of the curation.
Format:
projects/{project}/locations/{location}/curations/{curation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Curation.Builder setNameBytes(ByteString value)
Identifier. The name of the curation.
Format:
projects/{project}/locations/{location}/curations/{curation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Curation.Builder |
This builder for chaining. |
setPluginInstanceActions(int index, Curation.PluginInstanceActionID value)
public Curation.Builder setPluginInstanceActions(int index, Curation.PluginInstanceActionID value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Curation.PluginInstanceActionID |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setPluginInstanceActions(int index, Curation.PluginInstanceActionID.Builder builderForValue)
public Curation.Builder setPluginInstanceActions(int index, Curation.PluginInstanceActionID.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Curation.PluginInstanceActionID.Builder |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Curation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Curation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setUpdateTime(Timestamp value)
public Curation.Builder setUpdateTime(Timestamp value)
Output only. The time at which the curation was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Curation.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Curation.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time at which the curation was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Curation.Builder |