Class UpdateMessageBusRequest.Builder (1.55.0)

public static final class UpdateMessageBusRequest.Builder extends GeneratedMessageV3.Builder<UpdateMessageBusRequest.Builder> implements UpdateMessageBusRequestOrBuilder

The request message for the UpdateMessageBus method.

Protobuf type google.cloud.eventarc.v1.UpdateMessageBusRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateMessageBusRequest build()
Returns
Type Description
UpdateMessageBusRequest

buildPartial()

public UpdateMessageBusRequest buildPartial()
Returns
Type Description
UpdateMessageBusRequest

clear()

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

clearAllowMissing()

public UpdateMessageBusRequest.Builder clearAllowMissing()

Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In this situation, update_mask is ignored.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateMessageBusRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMessageBus()

public UpdateMessageBusRequest.Builder clearMessageBus()

Required. The MessageBus to be updated.

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

Returns
Type Description
UpdateMessageBusRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateMessageBusRequest.Builder clearUpdateMask()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateMessageBusRequest.Builder

clearValidateOnly()

public UpdateMessageBusRequest.Builder clearValidateOnly()

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
UpdateMessageBusRequest.Builder

This builder for chaining.

clone()

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

getAllowMissing()

public boolean getAllowMissing()

Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In this situation, update_mask is ignored.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public UpdateMessageBusRequest getDefaultInstanceForType()
Returns
Type Description
UpdateMessageBusRequest

getDescriptorForType()

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

getMessageBus()

public MessageBus getMessageBus()

Required. The MessageBus to be updated.

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

Returns
Type Description
MessageBus

The messageBus.

getMessageBusBuilder()

public MessageBus.Builder getMessageBusBuilder()

Required. The MessageBus to be updated.

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

Returns
Type Description
MessageBus.Builder

getMessageBusOrBuilder()

public MessageBusOrBuilder getMessageBusOrBuilder()

Required. The MessageBus to be updated.

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

Returns
Type Description
MessageBusOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

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.

hasMessageBus()

public boolean hasMessageBus()

Required. The MessageBus to be updated.

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

Returns
Type Description
boolean

Whether the messageBus field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateMessageBusRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMessageBus(MessageBus value)

public UpdateMessageBusRequest.Builder mergeMessageBus(MessageBus value)

Required. The MessageBus to be updated.

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

Parameter
Name Description
value MessageBus
Returns
Type Description
UpdateMessageBusRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateMessageBusRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMessageBusRequest.Builder

setAllowMissing(boolean value)

public UpdateMessageBusRequest.Builder setAllowMissing(boolean value)

Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In this situation, update_mask is ignored.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateMessageBusRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessageBus(MessageBus value)

public UpdateMessageBusRequest.Builder setMessageBus(MessageBus value)

Required. The MessageBus to be updated.

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

Parameter
Name Description
value MessageBus
Returns
Type Description
UpdateMessageBusRequest.Builder

setMessageBus(MessageBus.Builder builderForValue)

public UpdateMessageBusRequest.Builder setMessageBus(MessageBus.Builder builderForValue)

Required. The MessageBus to be updated.

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

Parameter
Name Description
builderForValue MessageBus.Builder
Returns
Type Description
UpdateMessageBusRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateMessageBusRequest.Builder setUpdateMask(FieldMask value)

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMessageBusRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateMessageBusRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateMessageBusRequest.Builder

setValidateOnly(boolean value)

public UpdateMessageBusRequest.Builder setValidateOnly(boolean value)

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

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

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateMessageBusRequest.Builder

This builder for chaining.