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.events.cloud.eventarc.v1.Transport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Transport.BuilderImplements
TransportOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Transport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Transport.Builder |
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 |
clearPubsub()
public Transport.Builder clearPubsub()
The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.
.google.events.cloud.eventarc.v1.Pubsub pubsub = 1;
Returns | |
---|---|
Type | Description |
Transport.Builder |
clone()
public Transport.Builder clone()
Returns | |
---|---|
Type | Description |
Transport.Builder |
getDefaultInstanceForType()
public Transport getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Transport |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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.events.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.events.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.events.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.events.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Transport.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Transport.Builder |
mergePubsub(Pubsub value)
public Transport.Builder mergePubsub(Pubsub value)
The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.
.google.events.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 |
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 |
setPubsub(Pubsub value)
public Transport.Builder setPubsub(Pubsub value)
The Pub/Sub topic and subscription used by Eventarc as a transport intermediary.
.google.events.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.events.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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Transport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Transport.Builder |