public static final class AmbientNetworking.Builder extends GeneratedMessage.Builder<AmbientNetworking.Builder> implements AmbientNetworkingOrBuilderConfiguration for Ambient Networking.
Protobuf type google.cloud.run.v2.AmbientNetworking
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AmbientNetworking.BuilderImplements
AmbientNetworkingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AmbientNetworking build()| Returns | |
|---|---|
| Type | Description |
AmbientNetworking |
|
buildPartial()
public AmbientNetworking buildPartial()| Returns | |
|---|---|
| Type | Description |
AmbientNetworking |
|
clear()
public AmbientNetworking.Builder clear()| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
|
clearAmbientScope()
public AmbientNetworking.Builder clearAmbientScope()The ambient networking scope of the instance.
.google.cloud.run.v2.AmbientScope ambient_scope = 2;
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
This builder for chaining. |
clearEnabled()
public AmbientNetworking.Builder clearEnabled()Optional. Whether ambient networking is enabled.
optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AmbientNetworking other)
public AmbientNetworking.Builder mergeFrom(AmbientNetworking other)| Parameter | |
|---|---|
| Name | Description |
other |
AmbientNetworking |
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AmbientNetworking.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AmbientNetworking.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
|
setAmbientScope(AmbientScope value)
public AmbientNetworking.Builder setAmbientScope(AmbientScope value)The ambient networking scope of the instance.
.google.cloud.run.v2.AmbientScope ambient_scope = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AmbientScopeThe ambientScope to set. |
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
This builder for chaining. |
setAmbientScopeValue(int value)
public AmbientNetworking.Builder setAmbientScopeValue(int value)The ambient networking scope of the instance.
.google.cloud.run.v2.AmbientScope ambient_scope = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for ambientScope to set. |
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
This builder for chaining. |
setEnabled(boolean value)
public AmbientNetworking.Builder setEnabled(boolean value)Optional. Whether ambient networking is enabled.
optional bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
AmbientNetworking.Builder |
This builder for chaining. |