Class SerialPipeline (1.17.0)

public final class SerialPipeline extends GeneratedMessageV3 implements SerialPipelineOrBuilder

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Protobuf type google.cloud.deploy.v1.SerialPipeline

Static Fields

STAGES_FIELD_NUMBER

public static final int STAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SerialPipeline getDefaultInstance()
Returns
TypeDescription
SerialPipeline

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SerialPipeline.Builder newBuilder()
Returns
TypeDescription
SerialPipeline.Builder

newBuilder(SerialPipeline prototype)

public static SerialPipeline.Builder newBuilder(SerialPipeline prototype)
Parameter
NameDescription
prototypeSerialPipeline
Returns
TypeDescription
SerialPipeline.Builder

parseDelimitedFrom(InputStream input)

public static SerialPipeline parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SerialPipeline parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SerialPipeline parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SerialPipeline parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SerialPipeline parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SerialPipeline parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SerialPipeline parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SerialPipeline parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SerialPipeline parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SerialPipeline parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SerialPipeline parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SerialPipeline parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SerialPipeline
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SerialPipeline> parser()
Returns
TypeDescription
Parser<SerialPipeline>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SerialPipeline getDefaultInstanceForType()
Returns
TypeDescription
SerialPipeline

getParserForType()

public Parser<SerialPipeline> getParserForType()
Returns
TypeDescription
Parser<SerialPipeline>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStages(int index)

public Stage getStages(int index)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Stage

getStagesCount()

public int getStagesCount()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
TypeDescription
int

getStagesList()

public List<Stage> getStagesList()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
TypeDescription
List<Stage>

getStagesOrBuilder(int index)

public StageOrBuilder getStagesOrBuilder(int index)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StageOrBuilder

getStagesOrBuilderList()

public List<? extends StageOrBuilder> getStagesOrBuilderList()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
TypeDescription
List<? extends com.google.cloud.deploy.v1.StageOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SerialPipeline.Builder newBuilderForType()
Returns
TypeDescription
SerialPipeline.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SerialPipeline.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SerialPipeline.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SerialPipeline.Builder toBuilder()
Returns
TypeDescription
SerialPipeline.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException