public static final class SACRealm.Builder extends GeneratedMessage.Builder<SACRealm.Builder> implements SACRealmOrBuilderRepresents a Secure Access Connect (SAC) realm resource.
A Secure Access Connect realm establishes a connection between your Google Cloud project and an SSE service.
Protobuf type google.cloud.networksecurity.v1.SACRealm
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SACRealm.BuilderImplements
SACRealmOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SACRealm build()| Returns | |
|---|---|
| Type | Description |
SACRealm |
|
buildPartial()
public SACRealm buildPartial()| Returns | |
|---|---|
| Type | Description |
SACRealm |
|
clear()
public SACRealm.Builder clear()| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
clearCreateTime()
public SACRealm.Builder clearCreateTime()Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
clearLabels()
public SACRealm.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
clearName()
public SACRealm.Builder clearName() Identifier. Resource name, in the form
projects/{project}/locations/global/sacRealms/{sacRealm}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
clearPairingKey()
public SACRealm.Builder clearPairingKey()Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
clearSecurityService()
public SACRealm.Builder clearSecurityService()Immutable. SSE service provider associated with the realm.
.google.cloud.networksecurity.v1.SACRealm.SecurityService security_service = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
clearState()
public SACRealm.Builder clearState()Output only. State of the realm.
.google.cloud.networksecurity.v1.SACRealm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
clearUpdateTime()
public SACRealm.Builder clearUpdateTime()Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public SACRealm getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SACRealm |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName() Identifier. Resource name, in the form
projects/{project}/locations/global/sacRealms/{sacRealm}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. Resource name, in the form
projects/{project}/locations/global/sacRealms/{sacRealm}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPairingKey()
public SACRealm.PairingKey getPairingKey()Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.PairingKey |
The pairingKey. |
getPairingKeyBuilder()
public SACRealm.PairingKey.Builder getPairingKeyBuilder()Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.PairingKey.Builder |
|
getPairingKeyOrBuilder()
public SACRealm.PairingKeyOrBuilder getPairingKeyOrBuilder()Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.PairingKeyOrBuilder |
|
getSecurityService()
public SACRealm.SecurityService getSecurityService()Immutable. SSE service provider associated with the realm.
.google.cloud.networksecurity.v1.SACRealm.SecurityService security_service = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
SACRealm.SecurityService |
The securityService. |
getSecurityServiceValue()
public int getSecurityServiceValue()Immutable. SSE service provider associated with the realm.
.google.cloud.networksecurity.v1.SACRealm.SecurityService security_service = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for securityService. |
getState()
public SACRealm.State getState()Output only. State of the realm.
.google.cloud.networksecurity.v1.SACRealm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SACRealm.State |
The state. |
getStateValue()
public int getStateValue()Output only. State of the realm.
.google.cloud.networksecurity.v1.SACRealm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasPairingKey()
public boolean hasPairingKey()Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pairingKey field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public SACRealm.Builder mergeCreateTime(Timestamp value)Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
mergeFrom(SACRealm other)
public SACRealm.Builder mergeFrom(SACRealm other)| Parameter | |
|---|---|
| Name | Description |
other |
SACRealm |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SACRealm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SACRealm.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
mergePairingKey(SACRealm.PairingKey value)
public SACRealm.Builder mergePairingKey(SACRealm.PairingKey value)Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SACRealm.PairingKey |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
mergeUpdateTime(Timestamp value)
public SACRealm.Builder mergeUpdateTime(Timestamp value)Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
putAllLabels(Map<String,String> values)
public SACRealm.Builder putAllLabels(Map<String,String> values)Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
putLabels(String key, String value)
public SACRealm.Builder putLabels(String key, String value)Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
removeLabels(String key)
public SACRealm.Builder removeLabels(String key)Optional. Optional list of labels applied to the resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
setCreateTime(Timestamp value)
public SACRealm.Builder setCreateTime(Timestamp value)Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public SACRealm.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Timestamp when the realm was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
setName(String value)
public SACRealm.Builder setName(String value) Identifier. Resource name, in the form
projects/{project}/locations/global/sacRealms/{sacRealm}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SACRealm.Builder setNameBytes(ByteString value) Identifier. Resource name, in the form
projects/{project}/locations/global/sacRealms/{sacRealm}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
setPairingKey(SACRealm.PairingKey value)
public SACRealm.Builder setPairingKey(SACRealm.PairingKey value)Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SACRealm.PairingKey |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
setPairingKey(SACRealm.PairingKey.Builder builderForValue)
public SACRealm.Builder setPairingKey(SACRealm.PairingKey.Builder builderForValue)Output only. Key to be shared with SSE service provider during pairing.
.google.cloud.networksecurity.v1.SACRealm.PairingKey pairing_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SACRealm.PairingKey.Builder |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
setSecurityService(SACRealm.SecurityService value)
public SACRealm.Builder setSecurityService(SACRealm.SecurityService value)Immutable. SSE service provider associated with the realm.
.google.cloud.networksecurity.v1.SACRealm.SecurityService security_service = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
SACRealm.SecurityServiceThe securityService to set. |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
setSecurityServiceValue(int value)
public SACRealm.Builder setSecurityServiceValue(int value)Immutable. SSE service provider associated with the realm.
.google.cloud.networksecurity.v1.SACRealm.SecurityService security_service = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for securityService to set. |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
setState(SACRealm.State value)
public SACRealm.Builder setState(SACRealm.State value)Output only. State of the realm.
.google.cloud.networksecurity.v1.SACRealm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SACRealm.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
setStateValue(int value)
public SACRealm.Builder setStateValue(int value)Output only. State of the realm.
.google.cloud.networksecurity.v1.SACRealm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public SACRealm.Builder setUpdateTime(Timestamp value)Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public SACRealm.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Timestamp when the realm was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SACRealm.Builder |
|