Package com.google.cloud.batch.v1alpha
Class Runnable.Script.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Script.Builder>
-
- com.google.cloud.batch.v1alpha.Runnable.Script.Builder
-
- All Implemented Interfaces:
Runnable.ScriptOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Runnable.Script
public static final class Runnable.Script.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Script.Builder> implements Runnable.ScriptOrBuilder
Script runnable.
Protobuf typegoogle.cloud.batch.v1alpha.Runnable.Script
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Runnable.Script.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Runnable.Scriptbuild()Runnable.ScriptbuildPartial()Runnable.Script.Builderclear()Runnable.Script.BuilderclearCommand()Runnable.Script.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Runnable.Script.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Runnable.Script.BuilderclearPath()Script file path on the host VM.Runnable.Script.BuilderclearText()Shell script text.Runnable.Script.Builderclone()Runnable.Script.CommandCasegetCommandCase()Runnable.ScriptgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPath()Script file path on the host VM.com.google.protobuf.ByteStringgetPathBytes()Script file path on the host VM.StringgetText()Shell script text.com.google.protobuf.ByteStringgetTextBytes()Shell script text.booleanhasPath()Script file path on the host VM.booleanhasText()Shell script text.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Runnable.Script.BuildermergeFrom(Runnable.Script other)Runnable.Script.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Runnable.Script.BuildermergeFrom(com.google.protobuf.Message other)Runnable.Script.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Runnable.Script.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Runnable.Script.BuildersetPath(String value)Script file path on the host VM.Runnable.Script.BuildersetPathBytes(com.google.protobuf.ByteString value)Script file path on the host VM.Runnable.Script.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Runnable.Script.BuildersetText(String value)Shell script text.Runnable.Script.BuildersetTextBytes(com.google.protobuf.ByteString value)Shell script text.Runnable.Script.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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
-
-
-
-
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<Runnable.Script.Builder>
-
clear
public Runnable.Script.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<Runnable.Script.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<Runnable.Script.Builder>
-
getDefaultInstanceForType
public Runnable.Script getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Runnable.Script build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Runnable.Script buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Runnable.Script.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<Runnable.Script.Builder>
-
setField
public Runnable.Script.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<Runnable.Script.Builder>
-
clearField
public Runnable.Script.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Runnable.Script.Builder>
-
clearOneof
public Runnable.Script.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Runnable.Script.Builder>
-
setRepeatedField
public Runnable.Script.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<Runnable.Script.Builder>
-
addRepeatedField
public Runnable.Script.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<Runnable.Script.Builder>
-
mergeFrom
public Runnable.Script.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Runnable.Script.Builder>
-
mergeFrom
public Runnable.Script.Builder mergeFrom(Runnable.Script other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Runnable.Script.Builder>
-
mergeFrom
public Runnable.Script.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<Runnable.Script.Builder>- Throws:
IOException
-
getCommandCase
public Runnable.Script.CommandCase getCommandCase()
- Specified by:
getCommandCasein interfaceRunnable.ScriptOrBuilder
-
clearCommand
public Runnable.Script.Builder clearCommand()
-
hasPath
public boolean hasPath()
Script file path on the host VM. To specify an interpreter, please add a `#!<interpreter>`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
string path = 1;- Specified by:
hasPathin interfaceRunnable.ScriptOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
Script file path on the host VM. To specify an interpreter, please add a `#!<interpreter>`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
string path = 1;- Specified by:
getPathin interfaceRunnable.ScriptOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Script file path on the host VM. To specify an interpreter, please add a `#!<interpreter>`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
string path = 1;- Specified by:
getPathBytesin interfaceRunnable.ScriptOrBuilder- Returns:
- The bytes for path.
-
setPath
public Runnable.Script.Builder setPath(String value)
Script file path on the host VM. To specify an interpreter, please add a `#!<interpreter>`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Runnable.Script.Builder clearPath()
Script file path on the host VM. To specify an interpreter, please add a `#!<interpreter>`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
public Runnable.Script.Builder setPathBytes(com.google.protobuf.ByteString value)
Script file path on the host VM. To specify an interpreter, please add a `#!<interpreter>`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`.
string path = 1;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasText
public boolean hasText()
Shell script text. To specify an interpreter, please add a `#!<interpreter>\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
string text = 2;- Specified by:
hasTextin interfaceRunnable.ScriptOrBuilder- Returns:
- Whether the text field is set.
-
getText
public String getText()
Shell script text. To specify an interpreter, please add a `#!<interpreter>\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
string text = 2;- Specified by:
getTextin interfaceRunnable.ScriptOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()
Shell script text. To specify an interpreter, please add a `#!<interpreter>\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
string text = 2;- Specified by:
getTextBytesin interfaceRunnable.ScriptOrBuilder- Returns:
- The bytes for text.
-
setText
public Runnable.Script.Builder setText(String value)
Shell script text. To specify an interpreter, please add a `#!<interpreter>\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
string text = 2;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
public Runnable.Script.Builder clearText()
Shell script text. To specify an interpreter, please add a `#!<interpreter>\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
string text = 2;- Returns:
- This builder for chaining.
-
setTextBytes
public Runnable.Script.Builder setTextBytes(com.google.protobuf.ByteString value)
Shell script text. To specify an interpreter, please add a `#!<interpreter>\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the script will by default be excuted by `/bin/sh`.
string text = 2;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Runnable.Script.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Runnable.Script.Builder>
-
mergeUnknownFields
public final Runnable.Script.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Runnable.Script.Builder>
-
-