public static final class DiscoveredApiObservation.Builder extends GeneratedMessageV3.Builder<DiscoveredApiObservation.Builder> implements DiscoveredApiObservationOrBuilder
Respresents an API Observation observed in one of the sources.
Protobuf type google.cloud.apihub.v1.DiscoveredApiObservation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiscoveredApiObservation.BuilderImplements
DiscoveredApiObservationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllServerIps(Iterable<String> values)
public DiscoveredApiObservation.Builder addAllServerIps(Iterable<String> values)
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The serverIps to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addAllSourceLocations(Iterable<String> values)
public DiscoveredApiObservation.Builder addAllSourceLocations(Iterable<String> values)
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The sourceLocations to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addAllSourceTypes(Iterable<? extends DiscoveredApiObservation.SourceType> values)
public DiscoveredApiObservation.Builder addAllSourceTypes(Iterable<? extends DiscoveredApiObservation.SourceType> values)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.DiscoveredApiObservation.SourceType> The sourceTypes to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addAllSourceTypesValue(Iterable<Integer> values)
public DiscoveredApiObservation.Builder addAllSourceTypesValue(Iterable<Integer> values)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for sourceTypes to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveredApiObservation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
addServerIps(String value)
public DiscoveredApiObservation.Builder addServerIps(String value)
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The serverIps to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addServerIpsBytes(ByteString value)
public DiscoveredApiObservation.Builder addServerIpsBytes(ByteString value)
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the serverIps to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addSourceLocations(String value)
public DiscoveredApiObservation.Builder addSourceLocations(String value)
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The sourceLocations to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addSourceLocationsBytes(ByteString value)
public DiscoveredApiObservation.Builder addSourceLocationsBytes(ByteString value)
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the sourceLocations to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addSourceTypes(DiscoveredApiObservation.SourceType value)
public DiscoveredApiObservation.Builder addSourceTypes(DiscoveredApiObservation.SourceType value)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
DiscoveredApiObservation.SourceType The sourceTypes to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
addSourceTypesValue(int value)
public DiscoveredApiObservation.Builder addSourceTypesValue(int value)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for sourceTypes to add. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
build()
public DiscoveredApiObservation build()
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation |
buildPartial()
public DiscoveredApiObservation buildPartial()
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation |
clear()
public DiscoveredApiObservation.Builder clear()
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
clearApiOperationCount()
public DiscoveredApiObservation.Builder clearApiOperationCount()
Optional. The number of observed API Operations.
int64 api_operation_count = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearCreateTime()
public DiscoveredApiObservation.Builder clearCreateTime()
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
clearField(Descriptors.FieldDescriptor field)
public DiscoveredApiObservation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
clearHostname()
public DiscoveredApiObservation.Builder clearHostname()
Optional. The hostname of requests processed for this Observation.
string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearKnownOperationsCount()
public DiscoveredApiObservation.Builder clearKnownOperationsCount()
Output only. The number of known API Operations.
int64 known_operations_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearLastEventDetectedTime()
public DiscoveredApiObservation.Builder clearLastEventDetectedTime()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
clearName()
public DiscoveredApiObservation.Builder clearName()
Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveredApiObservation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
clearOrigin()
public DiscoveredApiObservation.Builder clearOrigin()
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
string origin = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearServerIps()
public DiscoveredApiObservation.Builder clearServerIps()
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearSourceLocations()
public DiscoveredApiObservation.Builder clearSourceLocations()
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearSourceMetadata()
public DiscoveredApiObservation.Builder clearSourceMetadata()
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
clearSourceTypes()
public DiscoveredApiObservation.Builder clearSourceTypes()
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearStyle()
public DiscoveredApiObservation.Builder clearStyle()
Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearUnknownOperationsCount()
public DiscoveredApiObservation.Builder clearUnknownOperationsCount()
Output only. The number of unknown API Operations.
int64 unknown_operations_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
clearUpdateTime()
public DiscoveredApiObservation.Builder clearUpdateTime()
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
clone()
public DiscoveredApiObservation.Builder clone()
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
getApiOperationCount()
public long getApiOperationCount()
Optional. The number of observed API Operations.
int64 api_operation_count = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The apiOperationCount. |
getCreateTime()
public Timestamp getCreateTime()
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public DiscoveredApiObservation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHostname()
public String getHostname()
Optional. The hostname of requests processed for this Observation.
string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()
Optional. The hostname of requests processed for this Observation.
string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hostname. |
getKnownOperationsCount()
public long getKnownOperationsCount()
Output only. The number of known API Operations.
int64 known_operations_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The knownOperationsCount. |
getLastEventDetectedTime()
public Timestamp getLastEventDetectedTime()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Timestamp |
The lastEventDetectedTime. |
getLastEventDetectedTimeBuilder()
public Timestamp.Builder getLastEventDetectedTimeBuilder()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getLastEventDetectedTimeOrBuilder()
public TimestampOrBuilder getLastEventDetectedTimeOrBuilder()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public String getName()
Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOrigin()
public String getOrigin()
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
string origin = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The origin. |
getOriginBytes()
public ByteString getOriginBytes()
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
string origin = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for origin. |
getServerIps(int index)
public String getServerIps(int index)
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The serverIps at the given index. |
getServerIpsBytes(int index)
public ByteString getServerIpsBytes(int index)
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the serverIps at the given index. |
getServerIpsCount()
public int getServerIpsCount()
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of serverIps. |
getServerIpsList()
public ProtocolStringList getServerIpsList()
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the serverIps. |
getSourceLocations(int index)
public String getSourceLocations(int index)
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The sourceLocations at the given index. |
getSourceLocationsBytes(int index)
public ByteString getSourceLocationsBytes(int index)
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the sourceLocations at the given index. |
getSourceLocationsCount()
public int getSourceLocationsCount()
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of sourceLocations. |
getSourceLocationsList()
public ProtocolStringList getSourceLocationsList()
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the sourceLocations. |
getSourceMetadata()
public SourceMetadata getSourceMetadata()
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
SourceMetadata |
The sourceMetadata. |
getSourceMetadataBuilder()
public SourceMetadata.Builder getSourceMetadataBuilder()
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
SourceMetadata.Builder |
getSourceMetadataOrBuilder()
public SourceMetadataOrBuilder getSourceMetadataOrBuilder()
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
SourceMetadataOrBuilder |
getSourceTypes(int index)
public DiscoveredApiObservation.SourceType getSourceTypes(int index)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.SourceType |
The sourceTypes at the given index. |
getSourceTypesCount()
public int getSourceTypesCount()
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of sourceTypes. |
getSourceTypesList()
public List<DiscoveredApiObservation.SourceType> getSourceTypesList()
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<SourceType> |
A list containing the sourceTypes. |
getSourceTypesValue(int index)
public int getSourceTypesValue(int index)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of sourceTypes at the given index. |
getSourceTypesValueList()
public List<Integer> getSourceTypesValueList()
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for sourceTypes. |
getStyle()
public DiscoveredApiObservation.Style getStyle()
Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Style |
The style. |
getStyleValue()
public int getStyleValue()
Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for style. |
getUnknownOperationsCount()
public long getUnknownOperationsCount()
Output only. The number of unknown API Operations.
int64 unknown_operations_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The unknownOperationsCount. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasLastEventDetectedTime()
public boolean hasLastEventDetectedTime()
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastEventDetectedTime field is set. |
hasSourceMetadata()
public boolean hasSourceMetadata()
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the sourceMetadata field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public DiscoveredApiObservation.Builder mergeCreateTime(Timestamp value)
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
mergeFrom(DiscoveredApiObservation other)
public DiscoveredApiObservation.Builder mergeFrom(DiscoveredApiObservation other)
Parameter | |
---|---|
Name | Description |
other |
DiscoveredApiObservation |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveredApiObservation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiscoveredApiObservation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
mergeLastEventDetectedTime(Timestamp value)
public DiscoveredApiObservation.Builder mergeLastEventDetectedTime(Timestamp value)
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
mergeSourceMetadata(SourceMetadata value)
public DiscoveredApiObservation.Builder mergeSourceMetadata(SourceMetadata value)
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
SourceMetadata |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveredApiObservation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
mergeUpdateTime(Timestamp value)
public DiscoveredApiObservation.Builder mergeUpdateTime(Timestamp value)
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setApiOperationCount(long value)
public DiscoveredApiObservation.Builder setApiOperationCount(long value)
Optional. The number of observed API Operations.
int64 api_operation_count = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The apiOperationCount to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public DiscoveredApiObservation.Builder setCreateTime(Timestamp value)
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public DiscoveredApiObservation.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Create time stamp of the observation in API Hub.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveredApiObservation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setHostname(String value)
public DiscoveredApiObservation.Builder setHostname(String value)
Optional. The hostname of requests processed for this Observation.
string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The hostname to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public DiscoveredApiObservation.Builder setHostnameBytes(ByteString value)
Optional. The hostname of requests processed for this Observation.
string hostname = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for hostname to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setKnownOperationsCount(long value)
public DiscoveredApiObservation.Builder setKnownOperationsCount(long value)
Output only. The number of known API Operations.
int64 known_operations_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The knownOperationsCount to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setLastEventDetectedTime(Timestamp value)
public DiscoveredApiObservation.Builder setLastEventDetectedTime(Timestamp value)
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setLastEventDetectedTime(Timestamp.Builder builderForValue)
public DiscoveredApiObservation.Builder setLastEventDetectedTime(Timestamp.Builder builderForValue)
Optional. Last event detected time stamp
.google.protobuf.Timestamp last_event_detected_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setName(String value)
public DiscoveredApiObservation.Builder setName(String value)
Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DiscoveredApiObservation.Builder setNameBytes(ByteString value)
Identifier. The name of the discovered API Observation.
Format:
projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setOrigin(String value)
public DiscoveredApiObservation.Builder setOrigin(String value)
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
string origin = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The origin to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setOriginBytes(ByteString value)
public DiscoveredApiObservation.Builder setOriginBytes(ByteString value)
Optional. For an observation pushed from a gcp resource, this would be the gcp project id.
string origin = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for origin to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveredApiObservation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setServerIps(int index, String value)
public DiscoveredApiObservation.Builder setServerIps(int index, String value)
Optional. The IP address (IPv4 or IPv6) of the origin server that the
request was sent to. This field can include port information. Examples:
"192.168.1.1"
, "10.0.0.1:80"
, "FE80::0202:B3FF:FE1E:8329"
.
repeated string server_ips = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The serverIps to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setSourceLocations(int index, String value)
public DiscoveredApiObservation.Builder setSourceLocations(int index, String value)
Optional. The location of the observation source.
repeated string source_locations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The sourceLocations to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setSourceMetadata(SourceMetadata value)
public DiscoveredApiObservation.Builder setSourceMetadata(SourceMetadata value)
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
SourceMetadata |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setSourceMetadata(SourceMetadata.Builder builderForValue)
public DiscoveredApiObservation.Builder setSourceMetadata(SourceMetadata.Builder builderForValue)
Output only. The metadata of the source from which the observation was collected.
.google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
SourceMetadata.Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setSourceTypes(int index, DiscoveredApiObservation.SourceType value)
public DiscoveredApiObservation.Builder setSourceTypes(int index, DiscoveredApiObservation.SourceType value)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
DiscoveredApiObservation.SourceType The sourceTypes to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setSourceTypesValue(int index, int value)
public DiscoveredApiObservation.Builder setSourceTypesValue(int index, int value)
Optional. The type of the source from which the observation was collected.
repeated .google.cloud.apihub.v1.DiscoveredApiObservation.SourceType source_types = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for sourceTypes to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setStyle(DiscoveredApiObservation.Style value)
public DiscoveredApiObservation.Builder setStyle(DiscoveredApiObservation.Style value)
Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
DiscoveredApiObservation.Style The style to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setStyleValue(int value)
public DiscoveredApiObservation.Builder setStyleValue(int value)
Optional. Style of ApiObservation
.google.cloud.apihub.v1.DiscoveredApiObservation.Style style = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for style to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveredApiObservation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setUnknownOperationsCount(long value)
public DiscoveredApiObservation.Builder setUnknownOperationsCount(long value)
Output only. The number of unknown API Operations.
int64 unknown_operations_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The unknownOperationsCount to set. |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public DiscoveredApiObservation.Builder setUpdateTime(Timestamp value)
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public DiscoveredApiObservation.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Update time stamp of the observation in API Hub.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DiscoveredApiObservation.Builder |