Class Transport.Builder (1.44.0)

public static final class Transport.Builder extends GeneratedMessageV3.Builder<Transport.Builder> implements TransportOrBuilder

Represents the transport intermediaries created for the trigger to deliver events.

Protobuf type google.cloud.eventarc.v1.Transport

Implements

TransportOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Transport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Transport.Builder
Overrides

build()

public Transport build()
Returns
Type Description
Transport

buildPartial()

public Transport buildPartial()
Returns
Type Description
Transport

clear()

public Transport.Builder clear()
Returns
Type Description
Transport.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Transport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Transport.Builder
Overrides

clearIntermediary()

public Transport.Builder clearIntermediary()
Returns
Type Description
Transport.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Transport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Transport.Builder
Overrides

clearPubsub()

public Transport.Builder clearPubsub()

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Returns
Type Description
Transport.Builder

clone()

public Transport.Builder clone()
Returns
Type Description
Transport.Builder
Overrides

getDefaultInstanceForType()

public Transport getDefaultInstanceForType()
Returns
Type Description
Transport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIntermediaryCase()

public Transport.IntermediaryCase getIntermediaryCase()
Returns
Type Description
Transport.IntermediaryCase

getPubsub()

public Pubsub getPubsub()

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Returns
Type Description
Pubsub

The pubsub.

getPubsubBuilder()

public Pubsub.Builder getPubsubBuilder()

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Returns
Type Description
Pubsub.Builder

getPubsubOrBuilder()

public PubsubOrBuilder getPubsubOrBuilder()

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Returns
Type Description
PubsubOrBuilder

hasPubsub()

public boolean hasPubsub()

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Returns
Type Description
boolean

Whether the pubsub field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Transport other)

public Transport.Builder mergeFrom(Transport other)
Parameter
Name Description
other Transport
Returns
Type Description
Transport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Transport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Transport.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Transport.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Transport.Builder
Overrides

mergePubsub(Pubsub value)

public Transport.Builder mergePubsub(Pubsub value)

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Parameter
Name Description
value Pubsub
Returns
Type Description
Transport.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Transport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Transport.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Transport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Transport.Builder
Overrides

setPubsub(Pubsub value)

public Transport.Builder setPubsub(Pubsub value)

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Parameter
Name Description
value Pubsub
Returns
Type Description
Transport.Builder

setPubsub(Pubsub.Builder builderForValue)

public Transport.Builder setPubsub(Pubsub.Builder builderForValue)

The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.

.google.cloud.eventarc.v1.Pubsub pubsub = 1;

Parameter
Name Description
builderForValue Pubsub.Builder
Returns
Type Description
Transport.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Transport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Transport.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Transport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Transport.Builder
Overrides