- 1.65.0 (latest)
- 1.64.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.49.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.37.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.25.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.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class CircuitBreakers.Builder extends GeneratedMessageV3.Builder<CircuitBreakers.Builder> implements CircuitBreakersOrBuilder
Settings controlling the volume of requests, connections and retries to this backend service.
Protobuf type google.cloud.compute.v1.CircuitBreakers
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CircuitBreakers.BuilderImplements
CircuitBreakersOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CircuitBreakers.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CircuitBreakers.Builder |
build()
public CircuitBreakers build()
Type | Description |
CircuitBreakers |
buildPartial()
public CircuitBreakers buildPartial()
Type | Description |
CircuitBreakers |
clear()
public CircuitBreakers.Builder clear()
Type | Description |
CircuitBreakers.Builder |
clearField(Descriptors.FieldDescriptor field)
public CircuitBreakers.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CircuitBreakers.Builder |
clearMaxConnections()
public CircuitBreakers.Builder clearMaxConnections()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_connections = 110652154;
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
clearMaxPendingRequests()
public CircuitBreakers.Builder clearMaxPendingRequests()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_pending_requests = 375558887;
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
clearMaxRequests()
public CircuitBreakers.Builder clearMaxRequests()
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
optional int32 max_requests = 28097599;
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
clearMaxRequestsPerConnection()
public CircuitBreakers.Builder clearMaxRequestsPerConnection()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_requests_per_connection = 361630528;
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
clearMaxRetries()
public CircuitBreakers.Builder clearMaxRetries()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_retries = 55546219;
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CircuitBreakers.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CircuitBreakers.Builder |
clone()
public CircuitBreakers.Builder clone()
Type | Description |
CircuitBreakers.Builder |
getDefaultInstanceForType()
public CircuitBreakers getDefaultInstanceForType()
Type | Description |
CircuitBreakers |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMaxConnections()
public int getMaxConnections()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_connections = 110652154;
Type | Description |
int | The maxConnections. |
getMaxPendingRequests()
public int getMaxPendingRequests()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_pending_requests = 375558887;
Type | Description |
int | The maxPendingRequests. |
getMaxRequests()
public int getMaxRequests()
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
optional int32 max_requests = 28097599;
Type | Description |
int | The maxRequests. |
getMaxRequestsPerConnection()
public int getMaxRequestsPerConnection()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_requests_per_connection = 361630528;
Type | Description |
int | The maxRequestsPerConnection. |
getMaxRetries()
public int getMaxRetries()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_retries = 55546219;
Type | Description |
int | The maxRetries. |
hasMaxConnections()
public boolean hasMaxConnections()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_connections = 110652154;
Type | Description |
boolean | Whether the maxConnections field is set. |
hasMaxPendingRequests()
public boolean hasMaxPendingRequests()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_pending_requests = 375558887;
Type | Description |
boolean | Whether the maxPendingRequests field is set. |
hasMaxRequests()
public boolean hasMaxRequests()
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
optional int32 max_requests = 28097599;
Type | Description |
boolean | Whether the maxRequests field is set. |
hasMaxRequestsPerConnection()
public boolean hasMaxRequestsPerConnection()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_requests_per_connection = 361630528;
Type | Description |
boolean | Whether the maxRequestsPerConnection field is set. |
hasMaxRetries()
public boolean hasMaxRetries()
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_retries = 55546219;
Type | Description |
boolean | Whether the maxRetries field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CircuitBreakers other)
public CircuitBreakers.Builder mergeFrom(CircuitBreakers other)
Name | Description |
other | CircuitBreakers |
Type | Description |
CircuitBreakers.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CircuitBreakers.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CircuitBreakers.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CircuitBreakers.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CircuitBreakers.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CircuitBreakers.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CircuitBreakers.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CircuitBreakers.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CircuitBreakers.Builder |
setMaxConnections(int value)
public CircuitBreakers.Builder setMaxConnections(int value)
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_connections = 110652154;
Name | Description |
value | int The maxConnections to set. |
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
setMaxPendingRequests(int value)
public CircuitBreakers.Builder setMaxPendingRequests(int value)
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_pending_requests = 375558887;
Name | Description |
value | int The maxPendingRequests to set. |
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
setMaxRequests(int value)
public CircuitBreakers.Builder setMaxRequests(int value)
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
optional int32 max_requests = 28097599;
Name | Description |
value | int The maxRequests to set. |
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
setMaxRequestsPerConnection(int value)
public CircuitBreakers.Builder setMaxRequestsPerConnection(int value)
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_requests_per_connection = 361630528;
Name | Description |
value | int The maxRequestsPerConnection to set. |
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
setMaxRetries(int value)
public CircuitBreakers.Builder setMaxRetries(int value)
Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_retries = 55546219;
Name | Description |
value | int The maxRetries to set. |
Type | Description |
CircuitBreakers.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CircuitBreakers.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CircuitBreakers.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CircuitBreakers.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CircuitBreakers.Builder |