Class Transport.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Transport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Transport.Builder
Overrides

build()

public Transport build()
Returns
TypeDescription
Transport

buildPartial()

public Transport buildPartial()
Returns
TypeDescription
Transport

clear()

public Transport.Builder clear()
Returns
TypeDescription
Transport.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Transport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Transport.Builder
Overrides

clearIntermediary()

public Transport.Builder clearIntermediary()
Returns
TypeDescription
Transport.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Transport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Transport.Builder

clone()

public Transport.Builder clone()
Returns
TypeDescription
Transport.Builder
Overrides

getDefaultInstanceForType()

public Transport getDefaultInstanceForType()
Returns
TypeDescription
Transport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIntermediaryCase()

public Transport.IntermediaryCase getIntermediaryCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the pubsub field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Transport other)

public Transport.Builder mergeFrom(Transport other)
Parameter
NameDescription
otherTransport
Returns
TypeDescription
Transport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Transport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Transport.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Transport.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePubsub
Returns
TypeDescription
Transport.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Transport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Transport.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Transport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePubsub
Returns
TypeDescription
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
NameDescription
builderForValuePubsub.Builder
Returns
TypeDescription
Transport.Builder

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

public Transport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Transport.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Transport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Transport.Builder
Overrides