Class AppConnectorInstanceConfig.Builder (0.44.0)

public static final class AppConnectorInstanceConfig.Builder extends GeneratedMessageV3.Builder<AppConnectorInstanceConfig.Builder> implements AppConnectorInstanceConfigOrBuilder

AppConnectorInstanceConfig defines the instance config of a AppConnector.

Protobuf type google.cloud.beyondcorp.appconnectors.v1.AppConnectorInstanceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppConnectorInstanceConfig build()
Returns
Type Description
AppConnectorInstanceConfig

buildPartial()

public AppConnectorInstanceConfig buildPartial()
Returns
Type Description
AppConnectorInstanceConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImageConfig()

public AppConnectorInstanceConfig.Builder clearImageConfig()

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Returns
Type Description
AppConnectorInstanceConfig.Builder

clearInstanceConfig()

public AppConnectorInstanceConfig.Builder clearInstanceConfig()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
Type Description
AppConnectorInstanceConfig.Builder

clearNotificationConfig()

public AppConnectorInstanceConfig.Builder clearNotificationConfig()

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Returns
Type Description
AppConnectorInstanceConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSequenceNumber()

public AppConnectorInstanceConfig.Builder clearSequenceNumber()

Required. A monotonically increasing number generated and maintained by the API provider. Every time a config changes in the backend, the sequenceNumber should be bumped up to reflect the change.

int64 sequence_number = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnectorInstanceConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AppConnectorInstanceConfig getDefaultInstanceForType()
Returns
Type Description
AppConnectorInstanceConfig

getDescriptorForType()

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

getImageConfig()

public ImageConfig getImageConfig()

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Returns
Type Description
ImageConfig

The imageConfig.

getImageConfigBuilder()

public ImageConfig.Builder getImageConfigBuilder()

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Returns
Type Description
ImageConfig.Builder

getImageConfigOrBuilder()

public ImageConfigOrBuilder getImageConfigOrBuilder()

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Returns
Type Description
ImageConfigOrBuilder

getInstanceConfig()

public Any getInstanceConfig()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
Type Description
Any

The instanceConfig.

getInstanceConfigBuilder()

public Any.Builder getInstanceConfigBuilder()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
Type Description
Builder

getInstanceConfigOrBuilder()

public AnyOrBuilder getInstanceConfigOrBuilder()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
Type Description
AnyOrBuilder

getNotificationConfig()

public NotificationConfig getNotificationConfig()

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Returns
Type Description
NotificationConfig

The notificationConfig.

getNotificationConfigBuilder()

public NotificationConfig.Builder getNotificationConfigBuilder()

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Returns
Type Description
NotificationConfig.Builder

getNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getNotificationConfigOrBuilder()

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Returns
Type Description
NotificationConfigOrBuilder

getSequenceNumber()

public long getSequenceNumber()

Required. A monotonically increasing number generated and maintained by the API provider. Every time a config changes in the backend, the sequenceNumber should be bumped up to reflect the change.

int64 sequence_number = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The sequenceNumber.

hasImageConfig()

public boolean hasImageConfig()

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Returns
Type Description
boolean

Whether the imageConfig field is set.

hasInstanceConfig()

public boolean hasInstanceConfig()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
Type Description
boolean

Whether the instanceConfig field is set.

hasNotificationConfig()

public boolean hasNotificationConfig()

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Returns
Type Description
boolean

Whether the notificationConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppConnectorInstanceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeImageConfig(ImageConfig value)

public AppConnectorInstanceConfig.Builder mergeImageConfig(ImageConfig value)

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Parameter
Name Description
value ImageConfig
Returns
Type Description
AppConnectorInstanceConfig.Builder

mergeInstanceConfig(Any value)

public AppConnectorInstanceConfig.Builder mergeInstanceConfig(Any value)

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Parameter
Name Description
value Any
Returns
Type Description
AppConnectorInstanceConfig.Builder

mergeNotificationConfig(NotificationConfig value)

public AppConnectorInstanceConfig.Builder mergeNotificationConfig(NotificationConfig value)

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Parameter
Name Description
value NotificationConfig
Returns
Type Description
AppConnectorInstanceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageConfig(ImageConfig value)

public AppConnectorInstanceConfig.Builder setImageConfig(ImageConfig value)

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Parameter
Name Description
value ImageConfig
Returns
Type Description
AppConnectorInstanceConfig.Builder

setImageConfig(ImageConfig.Builder builderForValue)

public AppConnectorInstanceConfig.Builder setImageConfig(ImageConfig.Builder builderForValue)

ImageConfig defines the GCR images to run for the remote agent's control plane.

.google.cloud.beyondcorp.appconnectors.v1.ImageConfig image_config = 4;

Parameter
Name Description
builderForValue ImageConfig.Builder
Returns
Type Description
AppConnectorInstanceConfig.Builder

setInstanceConfig(Any value)

public AppConnectorInstanceConfig.Builder setInstanceConfig(Any value)

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Parameter
Name Description
value Any
Returns
Type Description
AppConnectorInstanceConfig.Builder

setInstanceConfig(Any.Builder builderForValue)

public AppConnectorInstanceConfig.Builder setInstanceConfig(Any.Builder builderForValue)

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AppConnectorInstanceConfig.Builder

setNotificationConfig(NotificationConfig value)

public AppConnectorInstanceConfig.Builder setNotificationConfig(NotificationConfig value)

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Parameter
Name Description
value NotificationConfig
Returns
Type Description
AppConnectorInstanceConfig.Builder

setNotificationConfig(NotificationConfig.Builder builderForValue)

public AppConnectorInstanceConfig.Builder setNotificationConfig(NotificationConfig.Builder builderForValue)

NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification.

.google.cloud.beyondcorp.appconnectors.v1.NotificationConfig notification_config = 3;

Parameter
Name Description
builderForValue NotificationConfig.Builder
Returns
Type Description
AppConnectorInstanceConfig.Builder

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

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

setSequenceNumber(long value)

public AppConnectorInstanceConfig.Builder setSequenceNumber(long value)

Required. A monotonically increasing number generated and maintained by the API provider. Every time a config changes in the backend, the sequenceNumber should be bumped up to reflect the change.

int64 sequence_number = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The sequenceNumber to set.

Returns
Type Description
AppConnectorInstanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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