Package com.google.cloud.ids.v1
Class Endpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
- com.google.cloud.ids.v1.Endpoint.Builder
-
- All Implemented Interfaces:
EndpointOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Endpoint
public static final class Endpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
Protobuf typegoogle.cloud.ids.v1.Endpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Endpoint.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Endpoint
build()
Endpoint
buildPartial()
Endpoint.Builder
clear()
Endpoint.Builder
clearCreateTime()
Output only.Endpoint.Builder
clearDescription()
User-provided description of the endpointEndpoint.Builder
clearEndpointForwardingRule()
Output only.Endpoint.Builder
clearEndpointIp()
Output only.Endpoint.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Endpoint.Builder
clearLabels()
Endpoint.Builder
clearName()
Output only.Endpoint.Builder
clearNetwork()
Required.Endpoint.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Endpoint.Builder
clearSeverity()
Required.Endpoint.Builder
clearState()
Output only.Endpoint.Builder
clearTrafficLogs()
Whether the endpoint should report traffic logs in addition to threat logs.Endpoint.Builder
clearUpdateTime()
Output only.Endpoint.Builder
clone()
boolean
containsLabels(String key)
The labels of the endpoint.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Endpoint
getDefaultInstanceForType()
String
getDescription()
User-provided description of the endpointcom.google.protobuf.ByteString
getDescriptionBytes()
User-provided description of the endpointstatic com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEndpointForwardingRule()
Output only.com.google.protobuf.ByteString
getEndpointForwardingRuleBytes()
Output only.String
getEndpointIp()
Output only.com.google.protobuf.ByteString
getEndpointIpBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels of the endpoint.Map<String,String>
getLabelsMap()
The labels of the endpoint.String
getLabelsOrDefault(String key, String defaultValue)
The labels of the endpoint.String
getLabelsOrThrow(String key)
The labels of the endpoint.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNetwork()
Required.com.google.protobuf.ByteString
getNetworkBytes()
Required.Endpoint.Severity
getSeverity()
Required.int
getSeverityValue()
Required.Endpoint.State
getState()
Output only.int
getStateValue()
Output only.boolean
getTrafficLogs()
Whether the endpoint should report traffic logs in addition to threat logs.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Endpoint.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
mergeFrom(Endpoint other)
Endpoint.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Endpoint.Builder
mergeFrom(com.google.protobuf.Message other)
Endpoint.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Endpoint.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
putAllLabels(Map<String,String> values)
The labels of the endpoint.Endpoint.Builder
putLabels(String key, String value)
The labels of the endpoint.Endpoint.Builder
removeLabels(String key)
The labels of the endpoint.Endpoint.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Endpoint.Builder
setDescription(String value)
User-provided description of the endpointEndpoint.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of the endpointEndpoint.Builder
setEndpointForwardingRule(String value)
Output only.Endpoint.Builder
setEndpointForwardingRuleBytes(com.google.protobuf.ByteString value)
Output only.Endpoint.Builder
setEndpointIp(String value)
Output only.Endpoint.Builder
setEndpointIpBytes(com.google.protobuf.ByteString value)
Output only.Endpoint.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Endpoint.Builder
setName(String value)
Output only.Endpoint.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Endpoint.Builder
setNetwork(String value)
Required.Endpoint.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
Required.Endpoint.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Endpoint.Builder
setSeverity(Endpoint.Severity value)
Required.Endpoint.Builder
setSeverityValue(int value)
Required.Endpoint.Builder
setState(Endpoint.State value)
Output only.Endpoint.Builder
setStateValue(int value)
Output only.Endpoint.Builder
setTrafficLogs(boolean value)
Whether the endpoint should report traffic logs in addition to threat logs.Endpoint.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Endpoint.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clear
public Endpoint.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Endpoint build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Endpoint buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Endpoint.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setField
public Endpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearField
public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearOneof
public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setRepeatedField
public Endpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
addRepeatedField
public Endpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(Endpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The name of the endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceEndpointOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for name.
-
setName
public Endpoint.Builder setName(String value)
Output only. The name of the endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Endpoint.Builder clearName()
Output only. The name of the endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Endpoint.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceEndpointOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceEndpointOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Endpoint.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Endpoint.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Endpoint.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Endpoint.Builder clearCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceEndpointOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceEndpointOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceEndpointOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Endpoint.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Endpoint.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Endpoint.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Endpoint.Builder clearUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceEndpointOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:EndpointOrBuilder
The labels of the endpoint.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceEndpointOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The labels of the endpoint.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceEndpointOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceEndpointOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The labels of the endpoint.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceEndpointOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The labels of the endpoint.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceEndpointOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The labels of the endpoint.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in interfaceEndpointOrBuilder
-
clearLabels
public Endpoint.Builder clearLabels()
-
removeLabels
public Endpoint.Builder removeLabels(String key)
The labels of the endpoint.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Endpoint.Builder putLabels(String key, String value)
The labels of the endpoint.
map<string, string> labels = 4;
-
putAllLabels
public Endpoint.Builder putAllLabels(Map<String,String> values)
The labels of the endpoint.
map<string, string> labels = 4;
-
getNetwork
public String getNetwork()
Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
string network = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNetwork
in interfaceEndpointOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
string network = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNetworkBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public Endpoint.Builder setNetwork(String value)
Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
string network = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public Endpoint.Builder clearNetwork()
Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
string network = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setNetworkBytes
public Endpoint.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
string network = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for network to set.- Returns:
- This builder for chaining.
-
getEndpointForwardingRule
public String getEndpointForwardingRule()
Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.
string endpoint_forwarding_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndpointForwardingRule
in interfaceEndpointOrBuilder
- Returns:
- The endpointForwardingRule.
-
getEndpointForwardingRuleBytes
public com.google.protobuf.ByteString getEndpointForwardingRuleBytes()
Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.
string endpoint_forwarding_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndpointForwardingRuleBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for endpointForwardingRule.
-
setEndpointForwardingRule
public Endpoint.Builder setEndpointForwardingRule(String value)
Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.
string endpoint_forwarding_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The endpointForwardingRule to set.- Returns:
- This builder for chaining.
-
clearEndpointForwardingRule
public Endpoint.Builder clearEndpointForwardingRule()
Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.
string endpoint_forwarding_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setEndpointForwardingRuleBytes
public Endpoint.Builder setEndpointForwardingRuleBytes(com.google.protobuf.ByteString value)
Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.
string endpoint_forwarding_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for endpointForwardingRule to set.- Returns:
- This builder for chaining.
-
getEndpointIp
public String getEndpointIp()
Output only. The IP address of the IDS Endpoint's ILB.
string endpoint_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndpointIp
in interfaceEndpointOrBuilder
- Returns:
- The endpointIp.
-
getEndpointIpBytes
public com.google.protobuf.ByteString getEndpointIpBytes()
Output only. The IP address of the IDS Endpoint's ILB.
string endpoint_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndpointIpBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for endpointIp.
-
setEndpointIp
public Endpoint.Builder setEndpointIp(String value)
Output only. The IP address of the IDS Endpoint's ILB.
string endpoint_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The endpointIp to set.- Returns:
- This builder for chaining.
-
clearEndpointIp
public Endpoint.Builder clearEndpointIp()
Output only. The IP address of the IDS Endpoint's ILB.
string endpoint_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setEndpointIpBytes
public Endpoint.Builder setEndpointIpBytes(com.google.protobuf.ByteString value)
Output only. The IP address of the IDS Endpoint's ILB.
string endpoint_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for endpointIp to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
User-provided description of the endpoint
string description = 8;
- Specified by:
getDescription
in interfaceEndpointOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the endpoint
string description = 8;
- Specified by:
getDescriptionBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Endpoint.Builder setDescription(String value)
User-provided description of the endpoint
string description = 8;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Endpoint.Builder clearDescription()
User-provided description of the endpoint
string description = 8;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Endpoint.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of the endpoint
string description = 8;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getSeverityValue
public int getSeverityValue()
Required. Lowest threat severity that this endpoint will alert on.
.google.cloud.ids.v1.Endpoint.Severity severity = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSeverityValue
in interfaceEndpointOrBuilder
- Returns:
- The enum numeric value on the wire for severity.
-
setSeverityValue
public Endpoint.Builder setSeverityValue(int value)
Required. Lowest threat severity that this endpoint will alert on.
.google.cloud.ids.v1.Endpoint.Severity severity = 9 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
public Endpoint.Severity getSeverity()
Required. Lowest threat severity that this endpoint will alert on.
.google.cloud.ids.v1.Endpoint.Severity severity = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSeverity
in interfaceEndpointOrBuilder
- Returns:
- The severity.
-
setSeverity
public Endpoint.Builder setSeverity(Endpoint.Severity value)
Required. Lowest threat severity that this endpoint will alert on.
.google.cloud.ids.v1.Endpoint.Severity severity = 9 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
public Endpoint.Builder clearSeverity()
Required. Lowest threat severity that this endpoint will alert on.
.google.cloud.ids.v1.Endpoint.Severity severity = 9 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. Current state of the endpoint.
.google.cloud.ids.v1.Endpoint.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceEndpointOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Endpoint.Builder setStateValue(int value)
Output only. Current state of the endpoint.
.google.cloud.ids.v1.Endpoint.State state = 12 [(.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
public Endpoint.State getState()
Output only. Current state of the endpoint.
.google.cloud.ids.v1.Endpoint.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceEndpointOrBuilder
- Returns:
- The state.
-
setState
public Endpoint.Builder setState(Endpoint.State value)
Output only. Current state of the endpoint.
.google.cloud.ids.v1.Endpoint.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Endpoint.Builder clearState()
Output only. Current state of the endpoint.
.google.cloud.ids.v1.Endpoint.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getTrafficLogs
public boolean getTrafficLogs()
Whether the endpoint should report traffic logs in addition to threat logs.
bool traffic_logs = 13;
- Specified by:
getTrafficLogs
in interfaceEndpointOrBuilder
- Returns:
- The trafficLogs.
-
setTrafficLogs
public Endpoint.Builder setTrafficLogs(boolean value)
Whether the endpoint should report traffic logs in addition to threat logs.
bool traffic_logs = 13;
- Parameters:
value
- The trafficLogs to set.- Returns:
- This builder for chaining.
-
clearTrafficLogs
public Endpoint.Builder clearTrafficLogs()
Whether the endpoint should report traffic logs in addition to threat logs.
bool traffic_logs = 13;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeUnknownFields
public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
-