Class AppConnectorInstanceConfig (0.34.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
TypeDescription
int

INSTANCE_CONFIG_FIELD_NUMBER

public static final int INSTANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

NOTIFICATION_CONFIG_FIELD_NUMBER

public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SEQUENCE_NUMBER_FIELD_NUMBER

public static final int SEQUENCE_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AppConnectorInstanceConfig getDefaultInstance()
Returns
TypeDescription
AppConnectorInstanceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AppConnectorInstanceConfig.Builder newBuilder()
Returns
TypeDescription
AppConnectorInstanceConfig.Builder

newBuilder(AppConnectorInstanceConfig prototype)

public static AppConnectorInstanceConfig.Builder newBuilder(AppConnectorInstanceConfig prototype)
Parameter
NameDescription
prototypeAppConnectorInstanceConfig
Returns
TypeDescription
AppConnectorInstanceConfig.Builder

parseDelimitedFrom(InputStream input)

public static AppConnectorInstanceConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AppConnectorInstanceConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppConnectorInstanceConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppConnectorInstanceConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AppConnectorInstanceConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AppConnectorInstanceConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppConnectorInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnectorInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AppConnectorInstanceConfig> parser()
Returns
TypeDescription
Parser<AppConnectorInstanceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AppConnectorInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImageConfigOrBuilder

getInstanceConfig()

public Any getInstanceConfig()

The SLM instance agent configuration.

.google.protobuf.Any instance_config = 2;

Returns
TypeDescription
Any

The instanceConfig.

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.

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

getParserForType()

public Parser<AppConnectorInstanceConfig> getParserForType()
Returns
TypeDescription
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
TypeDescription
long

The sequenceNumber.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AppConnectorInstanceConfig.Builder newBuilderForType()
Returns
TypeDescription
AppConnectorInstanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppConnectorInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AppConnectorInstanceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AppConnectorInstanceConfig.Builder toBuilder()
Returns
TypeDescription
AppConnectorInstanceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException