Class CreatePipelineRequest (1.55.0)

public final class CreatePipelineRequest extends GeneratedMessageV3 implements CreatePipelineRequestOrBuilder

The request message for the CreatePipeline method.

Protobuf type google.cloud.eventarc.v1.CreatePipelineRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

PIPELINE_FIELD_NUMBER

public static final int PIPELINE_FIELD_NUMBER
Field Value
Type Description
int

PIPELINE_ID_FIELD_NUMBER

public static final int PIPELINE_ID_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreatePipelineRequest getDefaultInstance()
Returns
Type Description
CreatePipelineRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreatePipelineRequest.Builder newBuilder()
Returns
Type Description
CreatePipelineRequest.Builder

newBuilder(CreatePipelineRequest prototype)

public static CreatePipelineRequest.Builder newBuilder(CreatePipelineRequest prototype)
Parameter
Name Description
prototype CreatePipelineRequest
Returns
Type Description
CreatePipelineRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreatePipelineRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreatePipelineRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreatePipelineRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreatePipelineRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreatePipelineRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreatePipelineRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreatePipelineRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreatePipelineRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreatePipelineRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreatePipelineRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreatePipelineRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreatePipelineRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePipelineRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreatePipelineRequest> parser()
Returns
Type Description
Parser<CreatePipelineRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreatePipelineRequest getDefaultInstanceForType()
Returns
Type Description
CreatePipelineRequest

getParent()

public String getParent()

Required. The parent collection in which to add this pipeline.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent collection in which to add this pipeline.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreatePipelineRequest> getParserForType()
Returns
Type Description
Parser<CreatePipelineRequest>
Overrides

getPipeline()

public Pipeline getPipeline()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Pipeline

The pipeline.

getPipelineId()

public String getPipelineId()

Required. The user-provided ID to be assigned to the Pipeline.

string pipeline_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pipelineId.

getPipelineIdBytes()

public ByteString getPipelineIdBytes()

Required. The user-provided ID to be assigned to the Pipeline.

string pipeline_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pipelineId.

getPipelineOrBuilder()

public PipelineOrBuilder getPipelineOrBuilder()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PipelineOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, validate the request and preview the review, but do not post it.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasPipeline()

public boolean hasPipeline()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pipeline field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreatePipelineRequest.Builder newBuilderForType()
Returns
Type Description
CreatePipelineRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreatePipelineRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreatePipelineRequest.Builder toBuilder()
Returns
Type Description
CreatePipelineRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException