Package flyteidl.admin
Class WorkflowAttributesOuterClass.WorkflowAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
- flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder,Cloneable
- Enclosing class:
- WorkflowAttributesOuterClass.WorkflowAttributes
public static final class WorkflowAttributesOuterClass.WorkflowAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder> implements WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder
Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow. For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
Protobuf typeflyteidl.admin.WorkflowAttributes
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private Objectdomain_private MatchableResourceOuterClass.MatchingAttributesmatchingAttributes_private com.google.protobuf.SingleFieldBuilderV3<MatchableResourceOuterClass.MatchingAttributes,MatchableResourceOuterClass.MatchingAttributes.Builder,MatchableResourceOuterClass.MatchingAttributesOrBuilder>matchingAttributesBuilder_private Objectproject_private Objectworkflow_
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
project_
private Object project_
-
domain_
private Object domain_
-
workflow_
private Object workflow_
-
matchingAttributes_
private MatchableResourceOuterClass.MatchingAttributes matchingAttributes_
-
matchingAttributesBuilder_
private com.google.protobuf.SingleFieldBuilderV3<MatchableResourceOuterClass.MatchingAttributes,MatchableResourceOuterClass.MatchingAttributes.Builder,MatchableResourceOuterClass.MatchingAttributesOrBuilder> matchingAttributesBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
clear
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.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.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowAttributesOuterClass.WorkflowAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowAttributesOuterClass.WorkflowAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowAttributesOuterClass.WorkflowAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(WorkflowAttributesOuterClass.WorkflowAttributes result)
-
clone
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
setField
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
clearField
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
clearOneof
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
setRepeatedField
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
addRepeatedField
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
mergeFrom
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
mergeFrom
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder mergeFrom(WorkflowAttributesOuterClass.WorkflowAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
mergeFrom
public WorkflowAttributesOuterClass.WorkflowAttributes.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<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>- Throws:
IOException
-
getProject
public String getProject()
Unique project id for which this set of attributes will be applied.
string project = 1;- Specified by:
getProjectin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Unique project id for which this set of attributes will be applied.
string project = 1;- Specified by:
getProjectBytesin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- The bytes for project.
-
setProject
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setProject(String value)
Unique project id for which this set of attributes will be applied.
string project = 1;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clearProject()
Unique project id for which this set of attributes will be applied.
string project = 1;- Returns:
- This builder for chaining.
-
setProjectBytes
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setProjectBytes(com.google.protobuf.ByteString value)
Unique project id for which this set of attributes will be applied.
string project = 1;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getDomain
public String getDomain()
Unique domain id for which this set of attributes will be applied.
string domain = 2;- Specified by:
getDomainin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Unique domain id for which this set of attributes will be applied.
string domain = 2;- Specified by:
getDomainBytesin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setDomain(String value)
Unique domain id for which this set of attributes will be applied.
string domain = 2;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clearDomain()
Unique domain id for which this set of attributes will be applied.
string domain = 2;- Returns:
- This builder for chaining.
-
setDomainBytes
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setDomainBytes(com.google.protobuf.ByteString value)
Unique domain id for which this set of attributes will be applied.
string domain = 2;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getWorkflow
public String getWorkflow()
Workflow name for which this set of attributes will be applied.
string workflow = 3;- Specified by:
getWorkflowin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- The workflow.
-
getWorkflowBytes
public com.google.protobuf.ByteString getWorkflowBytes()
Workflow name for which this set of attributes will be applied.
string workflow = 3;- Specified by:
getWorkflowBytesin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- The bytes for workflow.
-
setWorkflow
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setWorkflow(String value)
Workflow name for which this set of attributes will be applied.
string workflow = 3;- Parameters:
value- The workflow to set.- Returns:
- This builder for chaining.
-
clearWorkflow
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clearWorkflow()
Workflow name for which this set of attributes will be applied.
string workflow = 3;- Returns:
- This builder for chaining.
-
setWorkflowBytes
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setWorkflowBytes(com.google.protobuf.ByteString value)
Workflow name for which this set of attributes will be applied.
string workflow = 3;- Parameters:
value- The bytes for workflow to set.- Returns:
- This builder for chaining.
-
hasMatchingAttributes
public boolean hasMatchingAttributes()
.flyteidl.admin.MatchingAttributes matching_attributes = 4;- Specified by:
hasMatchingAttributesin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- Whether the matchingAttributes field is set.
-
getMatchingAttributes
public MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes()
.flyteidl.admin.MatchingAttributes matching_attributes = 4;- Specified by:
getMatchingAttributesin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder- Returns:
- The matchingAttributes.
-
setMatchingAttributes
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setMatchingAttributes(MatchableResourceOuterClass.MatchingAttributes value)
.flyteidl.admin.MatchingAttributes matching_attributes = 4;
-
setMatchingAttributes
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder setMatchingAttributes(MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue)
.flyteidl.admin.MatchingAttributes matching_attributes = 4;
-
mergeMatchingAttributes
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder mergeMatchingAttributes(MatchableResourceOuterClass.MatchingAttributes value)
.flyteidl.admin.MatchingAttributes matching_attributes = 4;
-
clearMatchingAttributes
public WorkflowAttributesOuterClass.WorkflowAttributes.Builder clearMatchingAttributes()
.flyteidl.admin.MatchingAttributes matching_attributes = 4;
-
getMatchingAttributesBuilder
public MatchableResourceOuterClass.MatchingAttributes.Builder getMatchingAttributesBuilder()
.flyteidl.admin.MatchingAttributes matching_attributes = 4;
-
getMatchingAttributesOrBuilder
public MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder()
.flyteidl.admin.MatchingAttributes matching_attributes = 4;- Specified by:
getMatchingAttributesOrBuilderin interfaceWorkflowAttributesOuterClass.WorkflowAttributesOrBuilder
-
getMatchingAttributesFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<MatchableResourceOuterClass.MatchingAttributes,MatchableResourceOuterClass.MatchingAttributes.Builder,MatchableResourceOuterClass.MatchingAttributesOrBuilder> getMatchingAttributesFieldBuilder()
.flyteidl.admin.MatchingAttributes matching_attributes = 4;
-
setUnknownFields
public final WorkflowAttributesOuterClass.WorkflowAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
mergeUnknownFields
public final WorkflowAttributesOuterClass.WorkflowAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowAttributesOuterClass.WorkflowAttributes.Builder>
-
-