Class FirewallEndpointAssociation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
com.google.cloud.networksecurity.v1.FirewallEndpointAssociation.Builder
- All Implemented Interfaces:
FirewallEndpointAssociationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FirewallEndpointAssociation
public static final class FirewallEndpointAssociation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
implements FirewallEndpointAssociationOrBuilder
Message describing Association objectProtobuf type
google.cloud.networksecurity.v1.FirewallEndpointAssociation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Required.Immutable.Required.Output only.Output only.Optional.Output only.booleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.Required.com.google.protobuf.ByteStringRequired.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()Immutable.com.google.protobuf.ByteStringImmutable.Required.com.google.protobuf.ByteStringRequired.booleanOutput only.getState()Output only.intOutput only.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisabled(boolean value) Optional.setFirewallEndpoint(String value) Required.setFirewallEndpointBytes(com.google.protobuf.ByteString value) Required.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setNetwork(String value) Required.setNetworkBytes(com.google.protobuf.ByteString value) Required.setReconciling(boolean value) Output only.Output only.setStateValue(int value) Output only.setTlsInspectionPolicy(String value) Optional.setTlsInspectionPolicyBytes(com.google.protobuf.ByteString value) Optional.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallEndpointAssociation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FirewallEndpointAssociation.Builder>
-
mergeFrom
public FirewallEndpointAssociation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallEndpointAssociation.Builder>- Throws:
IOException
-
getName
Immutable. Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Immutable. Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Immutable. Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceFirewallEndpointAssociationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public FirewallEndpointAssociation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceFirewallEndpointAssociationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceFirewallEndpointAssociationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public FirewallEndpointAssociation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceFirewallEndpointAssociationOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:FirewallEndpointAssociationOrBuilderOptional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceFirewallEndpointAssociationOrBuilder
-
containsLabels
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceFirewallEndpointAssociationOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFirewallEndpointAssociationOrBuilder
-
getLabelsMap
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceFirewallEndpointAssociationOrBuilder
-
getLabelsOrDefault
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceFirewallEndpointAssociationOrBuilder
-
getLabelsOrThrow
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceFirewallEndpointAssociationOrBuilder
-
clearLabels
-
removeLabels
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getStateValue
public int getStateValue()Output only. Current state of the association.
.google.cloud.networksecurity.v1.FirewallEndpointAssociation.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the association.
.google.cloud.networksecurity.v1.FirewallEndpointAssociation.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Current state of the association.
.google.cloud.networksecurity.v1.FirewallEndpointAssociation.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the association.
.google.cloud.networksecurity.v1.FirewallEndpointAssociation.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the association.
.google.cloud.networksecurity.v1.FirewallEndpointAssociation.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getNetwork
Required. The URL of the network that is being associated.
string network = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNetworkin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Required. The URL of the network that is being associated.
string network = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNetworkBytesin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The bytes for network.
-
setNetwork
Required. The URL of the network that is being associated.
string network = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Required. The URL of the network that is being associated.
string network = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNetworkBytes
Required. The URL of the network that is being associated.
string network = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getFirewallEndpoint
Required. The URL of the FirewallEndpoint that is being associated.
string firewall_endpoint = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFirewallEndpointin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The firewallEndpoint.
-
getFirewallEndpointBytes
public com.google.protobuf.ByteString getFirewallEndpointBytes()Required. The URL of the FirewallEndpoint that is being associated.
string firewall_endpoint = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFirewallEndpointBytesin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The bytes for firewallEndpoint.
-
setFirewallEndpoint
Required. The URL of the FirewallEndpoint that is being associated.
string firewall_endpoint = 7 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The firewallEndpoint to set.- Returns:
- This builder for chaining.
-
clearFirewallEndpoint
Required. The URL of the FirewallEndpoint that is being associated.
string firewall_endpoint = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setFirewallEndpointBytes
public FirewallEndpointAssociation.Builder setFirewallEndpointBytes(com.google.protobuf.ByteString value) Required. The URL of the FirewallEndpoint that is being associated.
string firewall_endpoint = 7 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for firewallEndpoint to set.- Returns:
- This builder for chaining.
-
getTlsInspectionPolicy
Optional. The URL of the TlsInspectionPolicy that is being associated.
string tls_inspection_policy = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTlsInspectionPolicyin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The tlsInspectionPolicy.
-
getTlsInspectionPolicyBytes
public com.google.protobuf.ByteString getTlsInspectionPolicyBytes()Optional. The URL of the TlsInspectionPolicy that is being associated.
string tls_inspection_policy = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTlsInspectionPolicyBytesin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The bytes for tlsInspectionPolicy.
-
setTlsInspectionPolicy
Optional. The URL of the TlsInspectionPolicy that is being associated.
string tls_inspection_policy = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The tlsInspectionPolicy to set.- Returns:
- This builder for chaining.
-
clearTlsInspectionPolicy
Optional. The URL of the TlsInspectionPolicy that is being associated.
string tls_inspection_policy = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTlsInspectionPolicyBytes
public FirewallEndpointAssociation.Builder setTlsInspectionPolicyBytes(com.google.protobuf.ByteString value) Optional. The URL of the TlsInspectionPolicy that is being associated.
string tls_inspection_policy = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for tlsInspectionPolicy to set.- Returns:
- This builder for chaining.
-
getReconciling
public boolean getReconciling()Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The reconciling.
-
setReconciling
Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDisabled
public boolean getDisabled()Optional. Whether the association is disabled. True indicates that traffic won't be intercepted
bool disabled = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisabledin interfaceFirewallEndpointAssociationOrBuilder- Returns:
- The disabled.
-
setDisabled
Optional. Whether the association is disabled. True indicates that traffic won't be intercepted
bool disabled = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The disabled to set.- Returns:
- This builder for chaining.
-
clearDisabled
Optional. Whether the association is disabled. True indicates that traffic won't be intercepted
bool disabled = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-