Class Resource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Resource.Builder>
com.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
io.envoyproxy.envoy.service.discovery.v3.Resource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ResourceOrBuilder
,Cloneable
- Enclosing class:
Resource
public static final class Resource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
implements ResourceOrBuilder
[#next-free-field: 10]Protobuf type
envoy.service.discovery.v3.Resource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.LazyStringArrayList
private int
private Resource.CacheControl
private com.google.protobuf.SingleFieldBuilder
<Resource.CacheControl, Resource.CacheControl.Builder, Resource.CacheControlOrBuilder> private Metadata
private com.google.protobuf.SingleFieldBuilder
<Metadata, Metadata.Builder, MetadataOrBuilder> private Object
private com.google.protobuf.Any
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> private ResourceName
private com.google.protobuf.SingleFieldBuilder
<ResourceName, ResourceName.Builder, ResourceNameOrBuilder> private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAliases
(String value) The aliases are a list of other names that this resource can go by.addAliasesBytes
(com.google.protobuf.ByteString value) The aliases are a list of other names that this resource can go by.addAllAliases
(Iterable<String> values) The aliases are a list of other names that this resource can go by.build()
private void
buildPartial0
(Resource result) clear()
The aliases are a list of other names that this resource can go by.Cache control properties for the resource.The Metadata field can be used to provide additional information for the resource.The resource's name, to distinguish it from others of the same type of resource.The resource being tracked.Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.clearTtl()
Time-to-live value for the resource.The resource level version.private void
getAliases
(int index) The aliases are a list of other names that this resource can go by.com.google.protobuf.ByteString
getAliasesBytes
(int index) The aliases are a list of other names that this resource can go by.int
The aliases are a list of other names that this resource can go by.com.google.protobuf.ProtocolStringList
The aliases are a list of other names that this resource can go by.Cache control properties for the resource.Cache control properties for the resource.private com.google.protobuf.SingleFieldBuilder
<Resource.CacheControl, Resource.CacheControl.Builder, Resource.CacheControlOrBuilder> Cache control properties for the resource.Cache control properties for the resource.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The Metadata field can be used to provide additional information for the resource.The Metadata field can be used to provide additional information for the resource.private com.google.protobuf.SingleFieldBuilder
<Metadata, Metadata.Builder, MetadataOrBuilder> The Metadata field can be used to provide additional information for the resource.The Metadata field can be used to provide additional information for the resource.getName()
The resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.ByteString
The resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.Any
The resource being tracked.com.google.protobuf.Any.Builder
The resource being tracked.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> The resource being tracked.Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.private com.google.protobuf.SingleFieldBuilder
<ResourceName, ResourceName.Builder, ResourceNameOrBuilder> Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.com.google.protobuf.AnyOrBuilder
The resource being tracked.com.google.protobuf.Duration
getTtl()
Time-to-live value for the resource.com.google.protobuf.Duration.Builder
Time-to-live value for the resource.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Time-to-live value for the resource.com.google.protobuf.DurationOrBuilder
Time-to-live value for the resource.The resource level version.com.google.protobuf.ByteString
The resource level version.boolean
Cache control properties for the resource.boolean
The Metadata field can be used to provide additional information for the resource.boolean
The resource being tracked.boolean
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.boolean
hasTtl()
Time-to-live value for the resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
Cache control properties for the resource.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeMetadata
(Metadata value) The Metadata field can be used to provide additional information for the resource.mergeResource
(com.google.protobuf.Any value) The resource being tracked.mergeResourceName
(ResourceName value) Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.mergeTtl
(com.google.protobuf.Duration value) Time-to-live value for the resource.setAliases
(int index, String value) The aliases are a list of other names that this resource can go by.Cache control properties for the resource.setCacheControl
(Resource.CacheControl.Builder builderForValue) Cache control properties for the resource.setMetadata
(Metadata value) The Metadata field can be used to provide additional information for the resource.setMetadata
(Metadata.Builder builderForValue) The Metadata field can be used to provide additional information for the resource.The resource's name, to distinguish it from others of the same type of resource.setNameBytes
(com.google.protobuf.ByteString value) The resource's name, to distinguish it from others of the same type of resource.setResource
(com.google.protobuf.Any value) The resource being tracked.setResource
(com.google.protobuf.Any.Builder builderForValue) The resource being tracked.setResourceName
(ResourceName value) Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.setResourceName
(ResourceName.Builder builderForValue) Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints.setTtl
(com.google.protobuf.Duration value) Time-to-live value for the resource.setTtl
(com.google.protobuf.Duration.Builder builderForValue) Time-to-live value for the resource.setVersion
(String value) The resource level version.setVersionBytes
(com.google.protobuf.ByteString value) The resource level version.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
name_
-
resourceName_
-
resourceNameBuilder_
private com.google.protobuf.SingleFieldBuilder<ResourceName,ResourceName.Builder, resourceNameBuilder_ResourceNameOrBuilder> -
aliases_
private com.google.protobuf.LazyStringArrayList aliases_ -
version_
-
resource_
private com.google.protobuf.Any resource_ -
resourceBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, resourceBuilder_com.google.protobuf.AnyOrBuilder> -
ttl_
private com.google.protobuf.Duration ttl_ -
ttlBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, ttlBuilder_com.google.protobuf.DurationOrBuilder> -
cacheControl_
-
cacheControlBuilder_
private com.google.protobuf.SingleFieldBuilder<Resource.CacheControl,Resource.CacheControl.Builder, cacheControlBuilder_Resource.CacheControlOrBuilder> -
metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, metadataBuilder_MetadataOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Resource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
mergeFrom
public Resource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Resource.Builder>
- Throws:
IOException
-
getName
The resource's name, to distinguish it from others of the same type of resource. Only one of ``name`` or ``resource_name`` may be set.
string name = 3;
- Specified by:
getName
in interfaceResourceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource's name, to distinguish it from others of the same type of resource. Only one of ``name`` or ``resource_name`` may be set.
string name = 3;
- Specified by:
getNameBytes
in interfaceResourceOrBuilder
- Returns:
- The bytes for name.
-
setName
The resource's name, to distinguish it from others of the same type of resource. Only one of ``name`` or ``resource_name`` may be set.
string name = 3;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource's name, to distinguish it from others of the same type of resource. Only one of ``name`` or ``resource_name`` may be set.
string name = 3;
- Returns:
- This builder for chaining.
-
setNameBytes
The resource's name, to distinguish it from others of the same type of resource. Only one of ``name`` or ``resource_name`` may be set.
string name = 3;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasResourceName
public boolean hasResourceName()Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
- Specified by:
hasResourceName
in interfaceResourceOrBuilder
- Returns:
- Whether the resourceName field is set.
-
getResourceName
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
- Specified by:
getResourceName
in interfaceResourceOrBuilder
- Returns:
- The resourceName.
-
setResourceName
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
setResourceName
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
mergeResourceName
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
clearResourceName
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
getResourceNameBuilder
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
getResourceNameOrBuilder
Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
- Specified by:
getResourceNameOrBuilder
in interfaceResourceOrBuilder
-
getResourceNameFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ResourceName,ResourceName.Builder, getResourceNameFieldBuilder()ResourceNameOrBuilder> Alternative to the ``name`` field, to be used when the server supports multiple variants of the named resource that are differentiated by dynamic parameter constraints. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
ensureAliasesIsMutable
private void ensureAliasesIsMutable() -
getAliasesList
public com.google.protobuf.ProtocolStringList getAliasesList()The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Specified by:
getAliasesList
in interfaceResourceOrBuilder
- Returns:
- A list containing the aliases.
-
getAliasesCount
public int getAliasesCount()The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Specified by:
getAliasesCount
in interfaceResourceOrBuilder
- Returns:
- The count of aliases.
-
getAliases
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Specified by:
getAliases
in interfaceResourceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The aliases at the given index.
-
getAliasesBytes
public com.google.protobuf.ByteString getAliasesBytes(int index) The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Specified by:
getAliasesBytes
in interfaceResourceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the aliases at the given index.
-
setAliases
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Parameters:
index
- The index to set the value at.value
- The aliases to set.- Returns:
- This builder for chaining.
-
addAliases
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Parameters:
value
- The aliases to add.- Returns:
- This builder for chaining.
-
addAllAliases
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Parameters:
values
- The aliases to add.- Returns:
- This builder for chaining.
-
clearAliases
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Returns:
- This builder for chaining.
-
addAliasesBytes
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;
- Parameters:
value
- The bytes of the aliases to add.- Returns:
- This builder for chaining.
-
getVersion
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;
- Specified by:
getVersion
in interfaceResourceOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The resource level version. It allows xDS to track the state of individual resources.
string version = 1;
- Specified by:
getVersionBytes
in interfaceResourceOrBuilder
- Returns:
- The bytes for version.
-
setVersion
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;
- Returns:
- This builder for chaining.
-
setVersionBytes
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasResource
public boolean hasResource()The resource being tracked.
.google.protobuf.Any resource = 2;
- Specified by:
hasResource
in interfaceResourceOrBuilder
- Returns:
- Whether the resource field is set.
-
getResource
public com.google.protobuf.Any getResource()The resource being tracked.
.google.protobuf.Any resource = 2;
- Specified by:
getResource
in interfaceResourceOrBuilder
- Returns:
- The resource.
-
setResource
The resource being tracked.
.google.protobuf.Any resource = 2;
-
setResource
The resource being tracked.
.google.protobuf.Any resource = 2;
-
mergeResource
The resource being tracked.
.google.protobuf.Any resource = 2;
-
clearResource
The resource being tracked.
.google.protobuf.Any resource = 2;
-
getResourceBuilder
public com.google.protobuf.Any.Builder getResourceBuilder()The resource being tracked.
.google.protobuf.Any resource = 2;
-
getResourceOrBuilder
public com.google.protobuf.AnyOrBuilder getResourceOrBuilder()The resource being tracked.
.google.protobuf.Any resource = 2;
- Specified by:
getResourceOrBuilder
in interfaceResourceOrBuilder
-
getResourceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, getResourceFieldBuilder()com.google.protobuf.AnyOrBuilder> The resource being tracked.
.google.protobuf.Any resource = 2;
-
hasTtl
public boolean hasTtl()Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
- Specified by:
hasTtl
in interfaceResourceOrBuilder
- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
- Specified by:
getTtl
in interfaceResourceOrBuilder
- Returns:
- The ttl.
-
setTtl
Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
-
setTtl
Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
-
mergeTtl
Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
-
clearTtl
Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
-
getTtlBuilder
public com.google.protobuf.Duration.Builder getTtlBuilder()Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
-
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
- Specified by:
getTtlOrBuilder
in interfaceResourceOrBuilder
-
getTtlFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, getTtlFieldBuilder()com.google.protobuf.DurationOrBuilder> Time-to-live value for the resource. For each resource, a timer is started. The timer is reset each time the resource is received with a new TTL. If the resource is received with no TTL set, the timer is removed for the resource. Upon expiration of the timer, the configuration for the resource will be removed. The TTL can be refreshed or changed by sending a response that doesn't change the resource version. In this case the resource field does not need to be populated, which allows for light-weight "heartbeat" updates to keep a resource with a TTL alive. The TTL feature is meant to support configurations that should be removed in the event of a management server failure. For example, the feature may be used for fault injection testing where the fault injection should be terminated in the event that Envoy loses contact with the management server.
.google.protobuf.Duration ttl = 6;
-
hasCacheControl
public boolean hasCacheControl()Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
- Specified by:
hasCacheControl
in interfaceResourceOrBuilder
- Returns:
- Whether the cacheControl field is set.
-
getCacheControl
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
- Specified by:
getCacheControl
in interfaceResourceOrBuilder
- Returns:
- The cacheControl.
-
setCacheControl
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
setCacheControl
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
mergeCacheControl
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
clearCacheControl
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
getCacheControlBuilder
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
getCacheControlOrBuilder
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
- Specified by:
getCacheControlOrBuilder
in interfaceResourceOrBuilder
-
getCacheControlFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Resource.CacheControl,Resource.CacheControl.Builder, getCacheControlFieldBuilder()Resource.CacheControlOrBuilder> Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
hasMetadata
public boolean hasMetadata()The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
- Specified by:
hasMetadata
in interfaceResourceOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
- Specified by:
getMetadata
in interfaceResourceOrBuilder
- Returns:
- The metadata.
-
setMetadata
The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
-
setMetadata
The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
-
mergeMetadata
The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
-
clearMetadata
The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
-
getMetadataBuilder
The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
-
getMetadataOrBuilder
The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
- Specified by:
getMetadataOrBuilder
in interfaceResourceOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, getMetadataFieldBuilder()MetadataOrBuilder> The Metadata field can be used to provide additional information for the resource. E.g. the trace data for debugging.
.envoy.config.core.v3.Metadata metadata = 9;
-