Class AmbientNetworking (0.103.0)

public final class AmbientNetworking extends GeneratedMessage implements AmbientNetworkingOrBuilder

Configuration for Ambient Networking.

Protobuf type google.cloud.run.v2.AmbientNetworking

Static Fields

AMBIENT_SCOPE_FIELD_NUMBER

public static final int AMBIENT_SCOPE_FIELD_NUMBER
Field Value
Type Description
int

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AmbientNetworking getDefaultInstance()
Returns
Type Description
AmbientNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(AmbientNetworking prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAmbientScope()

public AmbientScope getAmbientScope()

The ambient networking scope of the instance.

.google.cloud.run.v2.AmbientScope ambient_scope = 2;

Returns
Type Description
AmbientScope

The ambientScope.

getAmbientScopeValue()

public int getAmbientScopeValue()

The ambient networking scope of the instance.

.google.cloud.run.v2.AmbientScope ambient_scope = 2;

Returns
Type Description
int

The enum numeric value on the wire for ambientScope.

getDefaultInstanceForType()

public AmbientNetworking getDefaultInstanceForType()
Returns
Type Description
AmbientNetworking

getEnabled()

public boolean getEnabled()

Optional. Whether ambient networking is enabled.

optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEnabled()

public boolean hasEnabled()

Optional. Whether ambient networking is enabled.

optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enabled field is set.

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 AmbientNetworking.Builder newBuilderForType()
Returns
Type Description
AmbientNetworking.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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