Class AppConnectorInstanceConfig (0.49.0)

public final class AppConnectorInstanceConfig extends GeneratedMessageV3 implements AppConnectorInstanceConfigOrBuilder

AppConnectorInstanceConfig defines the instance config of a AppConnector.

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

Static Fields

IMAGE_CONFIG_FIELD_NUMBER

public static final int IMAGE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_CONFIG_FIELD_NUMBER

public static final int INSTANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NOTIFICATION_CONFIG_FIELD_NUMBER

public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SEQUENCE_NUMBER_FIELD_NUMBER

public static final int SEQUENCE_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AppConnectorInstanceConfig getDefaultInstance()
Returns
Type Description
AppConnectorInstanceConfig

getDescriptor()

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

newBuilder()

public static AppConnectorInstanceConfig.Builder newBuilder()
Returns
Type Description
AppConnectorInstanceConfig.Builder

newBuilder(AppConnectorInstanceConfig prototype)

public static AppConnectorInstanceConfig.Builder newBuilder(AppConnectorInstanceConfig prototype)
Parameter
Name Description
prototype AppConnectorInstanceConfig
Returns
Type Description
AppConnectorInstanceConfig.Builder

parseDelimitedFrom(InputStream input)

public static AppConnectorInstanceConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AppConnectorInstanceConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppConnectorInstanceConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppConnectorInstanceConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AppConnectorInstanceConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AppConnectorInstanceConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnectorInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AppConnectorInstanceConfig> parser()
Returns
Type Description
Parser<AppConnectorInstanceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AppConnectorInstanceConfig getDefaultInstanceForType()
Returns
Type Description
AppConnectorInstanceConfig

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.

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.

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.

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

getParserForType()

public Parser<AppConnectorInstanceConfig> getParserForType()
Returns
Type Description
Parser<AppConnectorInstanceConfig>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AppConnectorInstanceConfig.Builder newBuilderForType()
Returns
Type Description
AppConnectorInstanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppConnectorInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AppConnectorInstanceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AppConnectorInstanceConfig.Builder toBuilder()
Returns
Type Description
AppConnectorInstanceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException