- 1.77.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.7
- 1.1.1
- 1.0.4
public static final class Endpoint.Builder extends GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilderEndpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
 Protobuf type google.cloud.ids.v1.Endpoint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Endpoint.BuilderImplements
EndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Endpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
build()
public Endpoint build()| Returns | |
|---|---|
| Type | Description | 
| Endpoint | |
buildPartial()
public Endpoint buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Endpoint | |
clear()
public Endpoint.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
clearCreateTime()
public Endpoint.Builder clearCreateTime()Output only. The create time timestamp.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
clearDescription()
public Endpoint.Builder clearDescription()User-provided description of the endpoint
 string description = 8;
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | 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 | |
|---|---|
| Type | Description | 
| Endpoint.Builder | 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 | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public Endpoint.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
clearLabels()
public Endpoint.Builder clearLabels()| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
clearName()
public Endpoint.Builder clearName()Output only. The name of the endpoint.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | 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 | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Endpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
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 | |
|---|---|
| Type | Description | 
| Endpoint.Builder | 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 | |
|---|---|
| Type | Description | 
| Endpoint.Builder | 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 | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
clearUpdateTime()
public Endpoint.Builder clearUpdateTime()Output only. The update time timestamp.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
clone()
public Endpoint.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
containsLabels(String key)
public boolean containsLabels(String key)The labels of the endpoint.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
getCreateTime()
public Timestamp getCreateTime()Output only. The create time timestamp.
 
 .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. The create time timestamp.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create time timestamp.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public Endpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Endpoint | |
getDescription()
public String getDescription()User-provided description of the endpoint
 string description = 8;
| Returns | |
|---|---|
| Type | Description | 
| String | The description. | 
getDescriptionBytes()
public ByteString getDescriptionBytes()User-provided description of the endpoint
 string description = 8;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for description. | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
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];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The endpointForwardingRule. | 
getEndpointForwardingRuleBytes()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for endpointForwardingRule. | 
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];
| Returns | |
|---|---|
| Type | Description | 
| String | The endpointIp. | 
getEndpointIpBytes()
public ByteString getEndpointIpBytes()Output only. The IP address of the IDS Endpoint's ILB.
 string endpoint_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for endpointIp. | 
getLabels()
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsCount()
public int getLabelsCount()The labels of the endpoint.
 map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description | 
| int | |
getLabelsMap()
public Map<String,String> getLabelsMap()The labels of the endpoint.
 map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)The labels of the endpoint.
 map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| defaultValue | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)The labels of the endpoint.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getMutableLabels()
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getName()
public String getName()Output only. The name of the endpoint.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()Output only. The name of the endpoint.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
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];
| Returns | |
|---|---|
| Type | Description | 
| String | The network. | 
getNetworkBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for network. | 
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];
 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Severity | The severity. | 
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];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for severity. | 
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];
 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.State | The state. | 
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];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
getTrafficLogs()
public boolean getTrafficLogs()Whether the endpoint should report traffic logs in addition to threat logs.
 bool traffic_logs = 13;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The trafficLogs. | 
getUpdateTime()
public Timestamp getUpdateTime()Output only. The update time timestamp.
 
 .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. The update time timestamp.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update time timestamp.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasCreateTime()
public boolean hasCreateTime()Output only. The create time timestamp.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasUpdateTime()
public boolean hasUpdateTime()Output only. The update time timestamp.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| MapField | |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| MapField | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCreateTime(Timestamp value)
public Endpoint.Builder mergeCreateTime(Timestamp value)Output only. The create time timestamp.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
mergeFrom(Endpoint other)
public Endpoint.Builder mergeFrom(Endpoint other)| Parameter | |
|---|---|
| Name | Description | 
| other | Endpoint | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Endpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Endpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Endpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
mergeUpdateTime(Timestamp value)
public Endpoint.Builder mergeUpdateTime(Timestamp value)Output only. The update time timestamp.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
putAllLabels(Map<String,String> values)
public Endpoint.Builder putAllLabels(Map<String,String> values)The labels of the endpoint.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| values | Map<String,String> | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
putLabels(String key, String value)
public Endpoint.Builder putLabels(String key, String value)The labels of the endpoint.
 map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| value | String | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
removeLabels(String key)
public Endpoint.Builder removeLabels(String key)The labels of the endpoint.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
setCreateTime(Timestamp value)
public Endpoint.Builder setCreateTime(Timestamp value)Output only. The create time timestamp.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public Endpoint.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The create time timestamp.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
setDescription(String value)
public Endpoint.Builder setDescription(String value)User-provided description of the endpoint
 string description = 8;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setDescriptionBytes(ByteString value)
public Endpoint.Builder setDescriptionBytes(ByteString value)User-provided description of the endpoint
 string description = 8;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setEndpointForwardingRule(String value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe endpointForwardingRule to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setEndpointForwardingRuleBytes(ByteString value)
public Endpoint.Builder setEndpointForwardingRuleBytes(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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for endpointForwardingRule to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setEndpointIp(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe endpointIp to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setEndpointIpBytes(ByteString value)
public Endpoint.Builder setEndpointIpBytes(ByteString value)Output only. The IP address of the IDS Endpoint's ILB.
 string endpoint_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for endpointIp to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public Endpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
setName(String value)
public Endpoint.Builder setName(String value)Output only. The name of the endpoint.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public Endpoint.Builder setNameBytes(ByteString value)Output only. The name of the endpoint.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setNetwork(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe network to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setNetworkBytes(ByteString value)
public Endpoint.Builder setNetworkBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for network to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Endpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
setSeverity(Endpoint.Severity value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Endpoint.SeverityThe severity to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setSeverityValue(int value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for severity to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setState(Endpoint.State value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Endpoint.StateThe state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setStateValue(int value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setTrafficLogs(boolean value)
public Endpoint.Builder setTrafficLogs(boolean value)Whether the endpoint should report traffic logs in addition to threat logs.
 bool traffic_logs = 13;
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe trafficLogs to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Endpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
setUpdateTime(Timestamp value)
public Endpoint.Builder setUpdateTime(Timestamp value)Output only. The update time timestamp.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |
setUpdateTime(Timestamp.Builder builderForValue)
public Endpoint.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The update time timestamp.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Endpoint.Builder | |