Package com.github.xds.core.v3
Class CollectionEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CollectionEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<CollectionEntry.Builder>
com.github.xds.core.v3.CollectionEntry.Builder
- All Implemented Interfaces:
CollectionEntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
CollectionEntry
public static final class CollectionEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CollectionEntry.Builder>
implements CollectionEntryOrBuilder
xDS collection resource wrapper. This encapsulates a xDS resource when
appearing inside a list collection resource. List collection resources are
regular Resource messages of type:
.. code-block:: proto
message <T>Collection {
repeated CollectionEntry resources = 1;
}
Protobuf type xds.core.v3.CollectionEntry-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate com.google.protobuf.SingleFieldBuilder<CollectionEntry.InlineEntry, CollectionEntry.InlineEntry.Builder, CollectionEntry.InlineEntryOrBuilder> private com.google.protobuf.SingleFieldBuilder<ResourceLocator, ResourceLocator.Builder, ResourceLocatorOrBuilder> private Objectprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(CollectionEntry result) private voidbuildPartialOneofs(CollectionEntry result) clear()The resource is inlined in the list collection.A resource locator describing how the member resource is to be located.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe resource is inlined in the list collection.The resource is inlined in the list collection.The resource is inlined in the list collection.A resource locator describing how the member resource is to be located.A resource locator describing how the member resource is to be located.A resource locator describing how the member resource is to be located.booleanThe resource is inlined in the list collection.booleanA resource locator describing how the member resource is to be located.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<CollectionEntry.InlineEntry, CollectionEntry.InlineEntry.Builder, CollectionEntry.InlineEntryOrBuilder> The resource is inlined in the list collection.private com.google.protobuf.SingleFieldBuilder<ResourceLocator, ResourceLocator.Builder, ResourceLocatorOrBuilder> A resource locator describing how the member resource is to be located.final booleanmergeFrom(CollectionEntry other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The resource is inlined in the list collection.mergeLocator(ResourceLocator value) A resource locator describing how the member resource is to be located.The resource is inlined in the list collection.setInlineEntry(CollectionEntry.InlineEntry.Builder builderForValue) The resource is inlined in the list collection.setLocator(ResourceLocator value) A resource locator describing how the member resource is to be located.setLocator(ResourceLocator.Builder builderForValue) A resource locator describing how the member resource is to be located.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
resourceSpecifierCase_
private int resourceSpecifierCase_ -
resourceSpecifier_
-
bitField0_
private int bitField0_ -
locatorBuilder_
private com.google.protobuf.SingleFieldBuilder<ResourceLocator,ResourceLocator.Builder, locatorBuilder_ResourceLocatorOrBuilder> -
inlineEntryBuilder_
private com.google.protobuf.SingleFieldBuilder<CollectionEntry.InlineEntry,CollectionEntry.InlineEntry.Builder, inlineEntryBuilder_CollectionEntry.InlineEntryOrBuilder>
-
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CollectionEntry.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<CollectionEntry.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<CollectionEntry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CollectionEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CollectionEntry.Builder>
-
mergeFrom
public CollectionEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CollectionEntry.Builder>- Throws:
IOException
-
getResourceSpecifierCase
- Specified by:
getResourceSpecifierCasein interfaceCollectionEntryOrBuilder
-
clearResourceSpecifier
-
hasLocator
public boolean hasLocator()A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1;- Specified by:
hasLocatorin interfaceCollectionEntryOrBuilder- Returns:
- Whether the locator field is set.
-
getLocator
A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1;- Specified by:
getLocatorin interfaceCollectionEntryOrBuilder- Returns:
- The locator.
-
setLocator
A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1; -
setLocator
A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1; -
mergeLocator
A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1; -
clearLocator
A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1; -
getLocatorBuilder
A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1; -
getLocatorOrBuilder
A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1;- Specified by:
getLocatorOrBuilderin interfaceCollectionEntryOrBuilder
-
internalGetLocatorFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ResourceLocator,ResourceLocator.Builder, internalGetLocatorFieldBuilder()ResourceLocatorOrBuilder> A resource locator describing how the member resource is to be located.
.xds.core.v3.ResourceLocator locator = 1; -
hasInlineEntry
public boolean hasInlineEntry()The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2;- Specified by:
hasInlineEntryin interfaceCollectionEntryOrBuilder- Returns:
- Whether the inlineEntry field is set.
-
getInlineEntry
The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2;- Specified by:
getInlineEntryin interfaceCollectionEntryOrBuilder- Returns:
- The inlineEntry.
-
setInlineEntry
The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2; -
setInlineEntry
The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2; -
mergeInlineEntry
The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2; -
clearInlineEntry
The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2; -
getInlineEntryBuilder
The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2; -
getInlineEntryOrBuilder
The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2;- Specified by:
getInlineEntryOrBuilderin interfaceCollectionEntryOrBuilder
-
internalGetInlineEntryFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CollectionEntry.InlineEntry,CollectionEntry.InlineEntry.Builder, internalGetInlineEntryFieldBuilder()CollectionEntry.InlineEntryOrBuilder> The resource is inlined in the list collection.
.xds.core.v3.CollectionEntry.InlineEntry inline_entry = 2;
-