Interface CreateMessageBusRequestOrBuilder (1.55.0)

public interface CreateMessageBusRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessageBus()

public abstract MessageBus getMessageBus()

Required. The message bus to create.

.google.cloud.eventarc.v1.MessageBus message_bus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MessageBus

The messageBus.

getMessageBusId()

public abstract String getMessageBusId()

Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$)

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

Returns
Type Description
String

The messageBusId.

getMessageBusIdBytes()

public abstract ByteString getMessageBusIdBytes()

Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$)

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

Returns
Type Description
ByteString

The bytes for messageBusId.

getMessageBusOrBuilder()

public abstract MessageBusOrBuilder getMessageBusOrBuilder()

Required. The message bus to create.

.google.cloud.eventarc.v1.MessageBus message_bus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MessageBusOrBuilder

getParent()

public abstract String getParent()

Required. The parent collection in which to add this message bus.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent collection in which to add this message bus.

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

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract 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.

hasMessageBus()

public abstract boolean hasMessageBus()

Required. The message bus to create.

.google.cloud.eventarc.v1.MessageBus message_bus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the messageBus field is set.