public static final class InterceptLocation.Builder extends GeneratedMessage.Builder<InterceptLocation.Builder> implements InterceptLocationOrBuilderDetails about intercept in a specific cloud location.
Protobuf type google.cloud.networksecurity.v1.InterceptLocation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InterceptLocation.BuilderImplements
InterceptLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InterceptLocation build()| Returns | |
|---|---|
| Type | Description |
InterceptLocation |
|
buildPartial()
public InterceptLocation buildPartial()| Returns | |
|---|---|
| Type | Description |
InterceptLocation |
|
clear()
public InterceptLocation.Builder clear()| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
|
clearLocation()
public InterceptLocation.Builder clearLocation()Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
This builder for chaining. |
clearState()
public InterceptLocation.Builder clearState()Output only. The current state of the association in this location.
.google.cloud.networksecurity.v1.InterceptLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public InterceptLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InterceptLocation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocation()
public String getLocation()Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getState()
public InterceptLocation.State getState()Output only. The current state of the association in this location.
.google.cloud.networksecurity.v1.InterceptLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.State |
The state. |
getStateValue()
public int getStateValue()Output only. The current state of the association in this location.
.google.cloud.networksecurity.v1.InterceptLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InterceptLocation other)
public InterceptLocation.Builder mergeFrom(InterceptLocation other)| Parameter | |
|---|---|
| Name | Description |
other |
InterceptLocation |
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InterceptLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InterceptLocation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
|
setLocation(String value)
public InterceptLocation.Builder setLocation(String value)Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public InterceptLocation.Builder setLocationBytes(ByteString value)Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
This builder for chaining. |
setState(InterceptLocation.State value)
public InterceptLocation.Builder setState(InterceptLocation.State value)Output only. The current state of the association in this location.
.google.cloud.networksecurity.v1.InterceptLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
InterceptLocation.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
This builder for chaining. |
setStateValue(int value)
public InterceptLocation.Builder setStateValue(int value)Output only. The current state of the association in this location.
.google.cloud.networksecurity.v1.InterceptLocation.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
InterceptLocation.Builder |
This builder for chaining. |