- 1.83.0 (latest)
- 1.82.0
- 1.81.0
- 1.80.0
- 1.78.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.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.49.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.37.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.24.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.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class PolicyControllerMonitoring.Builder extends GeneratedMessage.Builder<PolicyControllerMonitoring.Builder> implements PolicyControllerMonitoringOrBuilderPolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
Protobuf type google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PolicyControllerMonitoring.BuilderImplements
PolicyControllerMonitoringOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBackends(Iterable<? extends PolicyControllerMonitoring.MonitoringBackend> values)
public PolicyControllerMonitoring.Builder addAllBackends(Iterable<? extends PolicyControllerMonitoring.MonitoringBackend> values)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend>The backends to add. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
This builder for chaining. |
addAllBackendsValue(Iterable<Integer> values)
public PolicyControllerMonitoring.Builder addAllBackendsValue(Iterable<Integer> values)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for backends to add. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
This builder for chaining. |
addBackends(PolicyControllerMonitoring.MonitoringBackend value)
public PolicyControllerMonitoring.Builder addBackends(PolicyControllerMonitoring.MonitoringBackend value)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PolicyControllerMonitoring.MonitoringBackendThe backends to add. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
This builder for chaining. |
addBackendsValue(int value)
public PolicyControllerMonitoring.Builder addBackendsValue(int value)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for backends to add. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
This builder for chaining. |
build()
public PolicyControllerMonitoring build()| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring |
|
buildPartial()
public PolicyControllerMonitoring buildPartial()| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring |
|
clear()
public PolicyControllerMonitoring.Builder clear()| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
|
clearBackends()
public PolicyControllerMonitoring.Builder clearBackends()Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
This builder for chaining. |
getBackends(int index)
public PolicyControllerMonitoring.MonitoringBackend getBackends(int index)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.MonitoringBackend |
The backends at the given index. |
getBackendsCount()
public int getBackendsCount()Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of backends. |
getBackendsList()
public List<PolicyControllerMonitoring.MonitoringBackend> getBackendsList()Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Returns | |
|---|---|
| Type | Description |
List<MonitoringBackend> |
A list containing the backends. |
getBackendsValue(int index)
public int getBackendsValue(int index)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of backends at the given index. |
getBackendsValueList()
public List<Integer> getBackendsValueList()Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for backends. |
getDefaultInstanceForType()
public PolicyControllerMonitoring getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PolicyControllerMonitoring other)
public PolicyControllerMonitoring.Builder mergeFrom(PolicyControllerMonitoring other)| Parameter | |
|---|---|
| Name | Description |
other |
PolicyControllerMonitoring |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PolicyControllerMonitoring.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PolicyControllerMonitoring.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
|
setBackends(int index, PolicyControllerMonitoring.MonitoringBackend value)
public PolicyControllerMonitoring.Builder setBackends(int index, PolicyControllerMonitoring.MonitoringBackend value)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
PolicyControllerMonitoring.MonitoringBackendThe backends to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
This builder for chaining. |
setBackendsValue(int index, int value)
public PolicyControllerMonitoring.Builder setBackendsValue(int index, int value)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for backends to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerMonitoring.Builder |
This builder for chaining. |