Package com.google.cloud.visionai.v1
Class Instance.OutputResource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
com.google.cloud.visionai.v1.Instance.OutputResource.Builder
- All Implemented Interfaces:
Instance.OutputResourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance.OutputResource
public static final class Instance.OutputResource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
implements Instance.OutputResourceOrBuilder
Message of output resource used in one application instance.Protobuf type
google.cloud.visionai.v1.Instance.OutputResource-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.The output resource name for the current application instance.The specific output resource binding which produces the current OutputResource.The name of graph node who produces the output resource name.booleanOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOutput only.The output resource name for the current application instance.The specific output resource binding which produces the current OutputResource.com.google.protobuf.ByteStringThe specific output resource binding which produces the current OutputResource.com.google.protobuf.ByteStringThe output resource name for the current application instance.The name of graph node who produces the output resource name.com.google.protobuf.ByteStringThe name of graph node who produces the output resource name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Instance.OutputResource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAutogen(boolean value) Output only.setIsTemporary(boolean value) Output only.setOutputResource(String value) The output resource name for the current application instance.setOutputResourceBinding(String value) The specific output resource binding which produces the current OutputResource.setOutputResourceBindingBytes(com.google.protobuf.ByteString value) The specific output resource binding which produces the current OutputResource.setOutputResourceBytes(com.google.protobuf.ByteString value) The output resource name for the current application instance.setProducerNode(String value) The name of graph node who produces the output resource name.setProducerNodeBytes(com.google.protobuf.ByteString value) The name of graph node who produces the output resource name.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.OutputResource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
-
mergeFrom
public Instance.OutputResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.OutputResource.Builder>- Throws:
IOException
-
getOutputResource
The output resource name for the current application instance.
string output_resource = 1;- Specified by:
getOutputResourcein interfaceInstance.OutputResourceOrBuilder- Returns:
- The outputResource.
-
getOutputResourceBytes
public com.google.protobuf.ByteString getOutputResourceBytes()The output resource name for the current application instance.
string output_resource = 1;- Specified by:
getOutputResourceBytesin interfaceInstance.OutputResourceOrBuilder- Returns:
- The bytes for outputResource.
-
setOutputResource
The output resource name for the current application instance.
string output_resource = 1;- Parameters:
value- The outputResource to set.- Returns:
- This builder for chaining.
-
clearOutputResource
The output resource name for the current application instance.
string output_resource = 1;- Returns:
- This builder for chaining.
-
setOutputResourceBytes
The output resource name for the current application instance.
string output_resource = 1;- Parameters:
value- The bytes for outputResource to set.- Returns:
- This builder for chaining.
-
getProducerNode
The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting
string producer_node = 2;- Specified by:
getProducerNodein interfaceInstance.OutputResourceOrBuilder- Returns:
- The producerNode.
-
getProducerNodeBytes
public com.google.protobuf.ByteString getProducerNodeBytes()The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting
string producer_node = 2;- Specified by:
getProducerNodeBytesin interfaceInstance.OutputResourceOrBuilder- Returns:
- The bytes for producerNode.
-
setProducerNode
The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting
string producer_node = 2;- Parameters:
value- The producerNode to set.- Returns:
- This builder for chaining.
-
clearProducerNode
The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting
string producer_node = 2;- Returns:
- This builder for chaining.
-
setProducerNodeBytes
The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting
string producer_node = 2;- Parameters:
value- The bytes for producerNode to set.- Returns:
- This builder for chaining.
-
getOutputResourceBinding
The specific output resource binding which produces the current OutputResource.
string output_resource_binding = 4;- Specified by:
getOutputResourceBindingin interfaceInstance.OutputResourceOrBuilder- Returns:
- The outputResourceBinding.
-
getOutputResourceBindingBytes
public com.google.protobuf.ByteString getOutputResourceBindingBytes()The specific output resource binding which produces the current OutputResource.
string output_resource_binding = 4;- Specified by:
getOutputResourceBindingBytesin interfaceInstance.OutputResourceOrBuilder- Returns:
- The bytes for outputResourceBinding.
-
setOutputResourceBinding
The specific output resource binding which produces the current OutputResource.
string output_resource_binding = 4;- Parameters:
value- The outputResourceBinding to set.- Returns:
- This builder for chaining.
-
clearOutputResourceBinding
The specific output resource binding which produces the current OutputResource.
string output_resource_binding = 4;- Returns:
- This builder for chaining.
-
setOutputResourceBindingBytes
public Instance.OutputResource.Builder setOutputResourceBindingBytes(com.google.protobuf.ByteString value) The specific output resource binding which produces the current OutputResource.
string output_resource_binding = 4;- Parameters:
value- The bytes for outputResourceBinding to set.- Returns:
- This builder for chaining.
-
getIsTemporary
public boolean getIsTemporary()Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application.
bool is_temporary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIsTemporaryin interfaceInstance.OutputResourceOrBuilder- Returns:
- The isTemporary.
-
setIsTemporary
Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application.
bool is_temporary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The isTemporary to set.- Returns:
- This builder for chaining.
-
clearIsTemporary
Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application.
bool is_temporary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getAutogen
public boolean getAutogen()Output only. Whether the output resource is created automatically by the Vision AI App Platform.
bool autogen = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAutogenin interfaceInstance.OutputResourceOrBuilder- Returns:
- The autogen.
-
setAutogen
Output only. Whether the output resource is created automatically by the Vision AI App Platform.
bool autogen = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The autogen to set.- Returns:
- This builder for chaining.
-
clearAutogen
Output only. Whether the output resource is created automatically by the Vision AI App Platform.
bool autogen = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-