- 1.63.0 (latest)
- 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 NotificationEndpointGrpcSettings.Builder extends GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder> implements NotificationEndpointGrpcSettingsOrBuilder
Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.
Protobuf type google.cloud.compute.v1.NotificationEndpointGrpcSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NotificationEndpointGrpcSettings.BuilderImplements
NotificationEndpointGrpcSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NotificationEndpointGrpcSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
build()
public NotificationEndpointGrpcSettings build()
Type | Description |
NotificationEndpointGrpcSettings |
buildPartial()
public NotificationEndpointGrpcSettings buildPartial()
Type | Description |
NotificationEndpointGrpcSettings |
clear()
public NotificationEndpointGrpcSettings.Builder clear()
Type | Description |
NotificationEndpointGrpcSettings.Builder |
clearAuthority()
public NotificationEndpointGrpcSettings.Builder clearAuthority()
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
optional string authority = 401868611;
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
clearEndpoint()
public NotificationEndpointGrpcSettings.Builder clearEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NotificationEndpointGrpcSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationEndpointGrpcSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
clearPayloadName()
public NotificationEndpointGrpcSettings.Builder clearPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
clearResendInterval()
public NotificationEndpointGrpcSettings.Builder clearResendInterval()
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Type | Description |
NotificationEndpointGrpcSettings.Builder |
clearRetryDurationSec()
public NotificationEndpointGrpcSettings.Builder clearRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
optional uint32 retry_duration_sec = 115681117;
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
clone()
public NotificationEndpointGrpcSettings.Builder clone()
Type | Description |
NotificationEndpointGrpcSettings.Builder |
getAuthority()
public String getAuthority()
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
optional string authority = 401868611;
Type | Description |
String | The authority. |
getAuthorityBytes()
public ByteString getAuthorityBytes()
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
optional string authority = 401868611;
Type | Description |
ByteString | The bytes for authority. |
getDefaultInstanceForType()
public NotificationEndpointGrpcSettings getDefaultInstanceForType()
Type | Description |
NotificationEndpointGrpcSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndpoint()
public String getEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
Type | Description |
String | The endpoint. |
getEndpointBytes()
public ByteString getEndpointBytes()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
Type | Description |
ByteString | The bytes for endpoint. |
getPayloadName()
public String getPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
Type | Description |
String | The payloadName. |
getPayloadNameBytes()
public ByteString getPayloadNameBytes()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
Type | Description |
ByteString | The bytes for payloadName. |
getResendInterval()
public Duration getResendInterval()
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Type | Description |
Duration | The resendInterval. |
getResendIntervalBuilder()
public Duration.Builder getResendIntervalBuilder()
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Type | Description |
Duration.Builder |
getResendIntervalOrBuilder()
public DurationOrBuilder getResendIntervalOrBuilder()
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Type | Description |
DurationOrBuilder |
getRetryDurationSec()
public int getRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
optional uint32 retry_duration_sec = 115681117;
Type | Description |
int | The retryDurationSec. |
hasAuthority()
public boolean hasAuthority()
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
optional string authority = 401868611;
Type | Description |
boolean | Whether the authority field is set. |
hasEndpoint()
public boolean hasEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
Type | Description |
boolean | Whether the endpoint field is set. |
hasPayloadName()
public boolean hasPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
Type | Description |
boolean | Whether the payloadName field is set. |
hasResendInterval()
public boolean hasResendInterval()
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Type | Description |
boolean | Whether the resendInterval field is set. |
hasRetryDurationSec()
public boolean hasRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
optional uint32 retry_duration_sec = 115681117;
Type | Description |
boolean | Whether the retryDurationSec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NotificationEndpointGrpcSettings other)
public NotificationEndpointGrpcSettings.Builder mergeFrom(NotificationEndpointGrpcSettings other)
Name | Description |
other | NotificationEndpointGrpcSettings |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NotificationEndpointGrpcSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NotificationEndpointGrpcSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
mergeResendInterval(Duration value)
public NotificationEndpointGrpcSettings.Builder mergeResendInterval(Duration value)
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Name | Description |
value | Duration |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NotificationEndpointGrpcSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
setAuthority(String value)
public NotificationEndpointGrpcSettings.Builder setAuthority(String value)
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
optional string authority = 401868611;
Name | Description |
value | String The authority to set. |
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
setAuthorityBytes(ByteString value)
public NotificationEndpointGrpcSettings.Builder setAuthorityBytes(ByteString value)
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
optional string authority = 401868611;
Name | Description |
value | ByteString The bytes for authority to set. |
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
setEndpoint(String value)
public NotificationEndpointGrpcSettings.Builder setEndpoint(String value)
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
Name | Description |
value | String The endpoint to set. |
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
setEndpointBytes(ByteString value)
public NotificationEndpointGrpcSettings.Builder setEndpointBytes(ByteString value)
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
Name | Description |
value | ByteString The bytes for endpoint to set. |
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationEndpointGrpcSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
setPayloadName(String value)
public NotificationEndpointGrpcSettings.Builder setPayloadName(String value)
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
Name | Description |
value | String The payloadName to set. |
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
setPayloadNameBytes(ByteString value)
public NotificationEndpointGrpcSettings.Builder setPayloadNameBytes(ByteString value)
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
Name | Description |
value | ByteString The bytes for payloadName to set. |
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NotificationEndpointGrpcSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
setResendInterval(Duration value)
public NotificationEndpointGrpcSettings.Builder setResendInterval(Duration value)
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Name | Description |
value | Duration |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
setResendInterval(Duration.Builder builderForValue)
public NotificationEndpointGrpcSettings.Builder setResendInterval(Duration.Builder builderForValue)
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Name | Description |
builderForValue | Duration.Builder |
Type | Description |
NotificationEndpointGrpcSettings.Builder |
setRetryDurationSec(int value)
public NotificationEndpointGrpcSettings.Builder setRetryDurationSec(int value)
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
optional uint32 retry_duration_sec = 115681117;
Name | Description |
value | int The retryDurationSec to set. |
Type | Description |
NotificationEndpointGrpcSettings.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationEndpointGrpcSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NotificationEndpointGrpcSettings.Builder |