Class AppConnectorInstanceConfig.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppConnectorInstanceConfig build()
Returns
TypeDescription
AppConnectorInstanceConfig

buildPartial()

public AppConnectorInstanceConfig buildPartial()
Returns
TypeDescription
AppConnectorInstanceConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AppConnectorInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AppConnectorInstanceConfig.Builder

clearInstanceConfig()

public AppConnectorInstanceConfig.Builder clearInstanceConfig()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
TypeDescription
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
TypeDescription
AppConnectorInstanceConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AppConnectorInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
AppConnectorInstanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ImageConfigOrBuilder

getInstanceConfig()

public Any getInstanceConfig()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
TypeDescription
Any

The instanceConfig.

getInstanceConfigBuilder()

public Any.Builder getInstanceConfigBuilder()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
TypeDescription
Builder

getInstanceConfigOrBuilder()

public AnyOrBuilder getInstanceConfigOrBuilder()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the imageConfig field is set.

hasInstanceConfig()

public boolean hasInstanceConfig()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the notificationConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AppConnectorInstanceConfig other)

public AppConnectorInstanceConfig.Builder mergeFrom(AppConnectorInstanceConfig other)
Parameter
NameDescription
otherAppConnectorInstanceConfig
Returns
TypeDescription
AppConnectorInstanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstanceConfig(Any value)

public AppConnectorInstanceConfig.Builder mergeInstanceConfig(Any value)

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Parameter
NameDescription
valueAny
Returns
TypeDescription
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
NameDescription
valueNotificationConfig
Returns
TypeDescription
AppConnectorInstanceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceConfig(Any value)

public AppConnectorInstanceConfig.Builder setInstanceConfig(Any value)

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Parameter
NameDescription
valueAny
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueNotificationConfig
Returns
TypeDescription
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
NameDescription
builderForValueNotificationConfig.Builder
Returns
TypeDescription
AppConnectorInstanceConfig.Builder

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

public AppConnectorInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The sequenceNumber to set.

Returns
TypeDescription
AppConnectorInstanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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