Class VpcScSettings (0.9.0)

public final class VpcScSettings extends GeneratedMessage implements VpcScSettingsOrBuilder

VPC-SC settings for the app.

Protobuf type google.cloud.ces.v1beta.VpcScSettings

Static Fields

ALLOWED_ORIGINS_FIELD_NUMBER

public static final int ALLOWED_ORIGINS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VpcScSettings getDefaultInstance()
Returns
Type Description
VpcScSettings

getDescriptor()

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

newBuilder()

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

newBuilder(VpcScSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAllowedOrigins(int index)

public String getAllowedOrigins(int index)

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are able to directly call when VPC Service Controls are enabled. These strings must match the origin exactly, including the port if specified. For example, "https://example.com" or "https://example.com:443". This list does not yet apply to Python tools that may make direct HTTP calls.

repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedOrigins at the given index.

getAllowedOriginsBytes(int index)

public ByteString getAllowedOriginsBytes(int index)

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are able to directly call when VPC Service Controls are enabled. These strings must match the origin exactly, including the port if specified. For example, "https://example.com" or "https://example.com:443". This list does not yet apply to Python tools that may make direct HTTP calls.

repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedOrigins at the given index.

getAllowedOriginsCount()

public int getAllowedOriginsCount()

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are able to directly call when VPC Service Controls are enabled. These strings must match the origin exactly, including the port if specified. For example, "https://example.com" or "https://example.com:443". This list does not yet apply to Python tools that may make direct HTTP calls.

repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedOrigins.

getAllowedOriginsList()

public ProtocolStringList getAllowedOriginsList()

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are able to directly call when VPC Service Controls are enabled. These strings must match the origin exactly, including the port if specified. For example, "https://example.com" or "https://example.com:443". This list does not yet apply to Python tools that may make direct HTTP calls.

repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedOrigins.

getDefaultInstanceForType()

public VpcScSettings getDefaultInstanceForType()
Returns
Type Description
VpcScSettings

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected VpcScSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VpcScSettings.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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