Class Resource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typeenvoy.service.discovery.v3.Resource
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.protobuf.LazyStringArrayListaliases_private intbitField0_private Resource.CacheControlcacheControl_private com.google.protobuf.SingleFieldBuilder<Resource.CacheControl,Resource.CacheControl.Builder,Resource.CacheControlOrBuilder>cacheControlBuilder_private Metadatametadata_private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>metadataBuilder_private java.lang.Objectname_private com.google.protobuf.Anyresource_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>resourceBuilder_private ResourceNameresourceName_private com.google.protobuf.SingleFieldBuilder<ResourceName,ResourceName.Builder,ResourceNameOrBuilder>resourceNameBuilder_private com.google.protobuf.Durationttl_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>ttlBuilder_private java.lang.Objectversion_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource.BuilderaddAliases(java.lang.String value)The aliases are a list of other names that this resource can go by.Resource.BuilderaddAliasesBytes(com.google.protobuf.ByteString value)The aliases are a list of other names that this resource can go by.Resource.BuilderaddAllAliases(java.lang.Iterable<java.lang.String> values)The aliases are a list of other names that this resource can go by.Resourcebuild()ResourcebuildPartial()private voidbuildPartial0(Resource result)Resource.Builderclear()Resource.BuilderclearAliases()The aliases are a list of other names that this resource can go by.Resource.BuilderclearCacheControl()Cache control properties for the resource.Resource.BuilderclearMetadata()The Metadata field can be used to provide additional information for the resource.Resource.BuilderclearName()The resource's name, to distinguish it from others of the same type of resource.Resource.BuilderclearResource()The resource being tracked.Resource.BuilderclearResourceName()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.Resource.BuilderclearTtl()Time-to-live value for the resource.Resource.BuilderclearVersion()The resource level version.private voidensureAliasesIsMutable()java.lang.StringgetAliases(int index)The aliases are a list of other names that this resource can go by.com.google.protobuf.ByteStringgetAliasesBytes(int index)The aliases are a list of other names that this resource can go by.intgetAliasesCount()The aliases are a list of other names that this resource can go by.com.google.protobuf.ProtocolStringListgetAliasesList()The aliases are a list of other names that this resource can go by.Resource.CacheControlgetCacheControl()Cache control properties for the resource.Resource.CacheControl.BuildergetCacheControlBuilder()Cache control properties for the resource.private com.google.protobuf.SingleFieldBuilder<Resource.CacheControl,Resource.CacheControl.Builder,Resource.CacheControlOrBuilder>getCacheControlFieldBuilder()Cache control properties for the resource.Resource.CacheControlOrBuildergetCacheControlOrBuilder()Cache control properties for the resource.ResourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MetadatagetMetadata()The Metadata field can be used to provide additional information for the resource.Metadata.BuildergetMetadataBuilder()The Metadata field can be used to provide additional information for the resource.private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>getMetadataFieldBuilder()The Metadata field can be used to provide additional information for the resource.MetadataOrBuildergetMetadataOrBuilder()The Metadata field can be used to provide additional information for the resource.java.lang.StringgetName()The resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.ByteStringgetNameBytes()The resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.AnygetResource()The resource being tracked.com.google.protobuf.Any.BuildergetResourceBuilder()The resource being tracked.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>getResourceFieldBuilder()The resource being tracked.ResourceNamegetResourceName()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.ResourceName.BuildergetResourceNameBuilder()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>getResourceNameFieldBuilder()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.ResourceNameOrBuildergetResourceNameOrBuilder()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.AnyOrBuildergetResourceOrBuilder()The resource being tracked.com.google.protobuf.DurationgetTtl()Time-to-live value for the resource.com.google.protobuf.Duration.BuildergetTtlBuilder()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>getTtlFieldBuilder()Time-to-live value for the resource.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()Time-to-live value for the resource.java.lang.StringgetVersion()The resource level version.com.google.protobuf.ByteStringgetVersionBytes()The resource level version.booleanhasCacheControl()Cache control properties for the resource.booleanhasMetadata()The Metadata field can be used to provide additional information for the resource.booleanhasResource()The resource being tracked.booleanhasResourceName()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.booleanhasTtl()Time-to-live value for the resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()Resource.BuildermergeCacheControl(Resource.CacheControl value)Cache control properties for the resource.Resource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Resource.BuildermergeFrom(com.google.protobuf.Message other)Resource.BuildermergeFrom(Resource other)Resource.BuildermergeMetadata(Metadata value)The Metadata field can be used to provide additional information for the resource.Resource.BuildermergeResource(com.google.protobuf.Any value)The resource being tracked.Resource.BuildermergeResourceName(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.Resource.BuildermergeTtl(com.google.protobuf.Duration value)Time-to-live value for the resource.Resource.BuildersetAliases(int index, java.lang.String value)The aliases are a list of other names that this resource can go by.Resource.BuildersetCacheControl(Resource.CacheControl value)Cache control properties for the resource.Resource.BuildersetCacheControl(Resource.CacheControl.Builder builderForValue)Cache control properties for the resource.Resource.BuildersetMetadata(Metadata value)The Metadata field can be used to provide additional information for the resource.Resource.BuildersetMetadata(Metadata.Builder builderForValue)The Metadata field can be used to provide additional information for the resource.Resource.BuildersetName(java.lang.String value)The resource's name, to distinguish it from others of the same type of resource.Resource.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource's name, to distinguish it from others of the same type of resource.Resource.BuildersetResource(com.google.protobuf.Any value)The resource being tracked.Resource.BuildersetResource(com.google.protobuf.Any.Builder builderForValue)The resource being tracked.Resource.BuildersetResourceName(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.Resource.BuildersetResourceName(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.Resource.BuildersetTtl(com.google.protobuf.Duration value)Time-to-live value for the resource.Resource.BuildersetTtl(com.google.protobuf.Duration.Builder builderForValue)Time-to-live value for the resource.Resource.BuildersetVersion(java.lang.String value)The resource level version.Resource.BuildersetVersionBytes(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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
resourceName_
private ResourceName resourceName_
-
resourceNameBuilder_
private com.google.protobuf.SingleFieldBuilder<ResourceName,ResourceName.Builder,ResourceNameOrBuilder> resourceNameBuilder_
-
aliases_
private com.google.protobuf.LazyStringArrayList aliases_
-
version_
private java.lang.Object version_
-
resource_
private com.google.protobuf.Any resource_
-
resourceBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> resourceBuilder_
-
ttl_
private com.google.protobuf.Duration ttl_
-
ttlBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> ttlBuilder_
-
cacheControl_
private Resource.CacheControl cacheControl_
-
cacheControlBuilder_
private com.google.protobuf.SingleFieldBuilder<Resource.CacheControl,Resource.CacheControl.Builder,Resource.CacheControlOrBuilder> cacheControlBuilder_
-
metadata_
private Metadata metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> metadataBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Resource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
getDefaultInstanceForType
public Resource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Resource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Resource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Resource result)
-
mergeFrom
public Resource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Resource.Builder>
-
mergeFrom
public Resource.Builder mergeFrom(Resource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Resource.Builder>
-
mergeFrom
public Resource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Resource.Builder>- Throws:
java.io.IOException
-
getName
public java.lang.String 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:
getNamein 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:
getNameBytesin interfaceResourceOrBuilder- Returns:
- The bytes for name.
-
setName
public Resource.Builder setName(java.lang.String value)
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
public Resource.Builder 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
public Resource.Builder setNameBytes(com.google.protobuf.ByteString value)
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:
hasResourceNamein interfaceResourceOrBuilder- Returns:
- Whether the resourceName field is set.
-
getResourceName
public ResourceName 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:
getResourceNamein interfaceResourceOrBuilder- Returns:
- The resourceName.
-
setResourceName
public Resource.Builder 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. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
setResourceName
public Resource.Builder 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. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
mergeResourceName
public Resource.Builder 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. Only one of ``name`` or ``resource_name`` may be set.
.envoy.service.discovery.v3.ResourceName resource_name = 8;
-
clearResourceName
public Resource.Builder 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
public ResourceName.Builder 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
public ResourceNameOrBuilder 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:
getResourceNameOrBuilderin interfaceResourceOrBuilder
-
getResourceNameFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ResourceName,ResourceName.Builder,ResourceNameOrBuilder> getResourceNameFieldBuilder()
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:
getAliasesListin 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:
getAliasesCountin interfaceResourceOrBuilder- Returns:
- The count of aliases.
-
getAliases
public java.lang.String getAliases(int index)
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;- Specified by:
getAliasesin 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:
getAliasesBytesin interfaceResourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aliases at the given index.
-
setAliases
public Resource.Builder setAliases(int index, java.lang.String value)
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
public Resource.Builder addAliases(java.lang.String value)
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
public Resource.Builder addAllAliases(java.lang.Iterable<java.lang.String> values)
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
public Resource.Builder 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
public Resource.Builder addAliasesBytes(com.google.protobuf.ByteString value)
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
public java.lang.String getVersion()
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;- Specified by:
getVersionin 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:
getVersionBytesin interfaceResourceOrBuilder- Returns:
- The bytes for version.
-
setVersion
public Resource.Builder setVersion(java.lang.String value)
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
public Resource.Builder clearVersion()
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;- Returns:
- This builder for chaining.
-
setVersionBytes
public Resource.Builder setVersionBytes(com.google.protobuf.ByteString value)
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:
hasResourcein 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:
getResourcein interfaceResourceOrBuilder- Returns:
- The resource.
-
setResource
public Resource.Builder setResource(com.google.protobuf.Any value)
The resource being tracked.
.google.protobuf.Any resource = 2;
-
setResource
public Resource.Builder setResource(com.google.protobuf.Any.Builder builderForValue)
The resource being tracked.
.google.protobuf.Any resource = 2;
-
mergeResource
public Resource.Builder mergeResource(com.google.protobuf.Any value)
The resource being tracked.
.google.protobuf.Any resource = 2;
-
clearResource
public Resource.Builder 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:
getResourceOrBuilderin interfaceResourceOrBuilder
-
getResourceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> getResourceFieldBuilder()
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:
hasTtlin 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:
getTtlin interfaceResourceOrBuilder- Returns:
- The ttl.
-
setTtl
public Resource.Builder setTtl(com.google.protobuf.Duration value)
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
public Resource.Builder setTtl(com.google.protobuf.Duration.Builder builderForValue)
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
public Resource.Builder mergeTtl(com.google.protobuf.Duration value)
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
public Resource.Builder 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:
getTtlOrBuilderin interfaceResourceOrBuilder
-
getTtlFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getTtlFieldBuilder()
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:
hasCacheControlin interfaceResourceOrBuilder- Returns:
- Whether the cacheControl field is set.
-
getCacheControl
public Resource.CacheControl getCacheControl()
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;- Specified by:
getCacheControlin interfaceResourceOrBuilder- Returns:
- The cacheControl.
-
setCacheControl
public Resource.Builder setCacheControl(Resource.CacheControl value)
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
setCacheControl
public Resource.Builder setCacheControl(Resource.CacheControl.Builder builderForValue)
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
mergeCacheControl
public Resource.Builder mergeCacheControl(Resource.CacheControl value)
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
clearCacheControl
public Resource.Builder clearCacheControl()
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
getCacheControlBuilder
public Resource.CacheControl.Builder getCacheControlBuilder()
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;
-
getCacheControlOrBuilder
public Resource.CacheControlOrBuilder getCacheControlOrBuilder()
Cache control properties for the resource. [#not-implemented-hide:]
.envoy.service.discovery.v3.Resource.CacheControl cache_control = 7;- Specified by:
getCacheControlOrBuilderin interfaceResourceOrBuilder
-
getCacheControlFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Resource.CacheControl,Resource.CacheControl.Builder,Resource.CacheControlOrBuilder> getCacheControlFieldBuilder()
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:
hasMetadatain interfaceResourceOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata 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:
getMetadatain interfaceResourceOrBuilder- Returns:
- The metadata.
-
setMetadata
public Resource.Builder setMetadata(Metadata value)
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
public Resource.Builder setMetadata(Metadata.Builder builderForValue)
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
public Resource.Builder mergeMetadata(Metadata value)
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
public Resource.Builder 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
public Metadata.Builder 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
public MetadataOrBuilder 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:
getMetadataOrBuilderin interfaceResourceOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> getMetadataFieldBuilder()
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;
-
-