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 int
private com.google.protobuf.SingleFieldBuilder
<CollectionEntry.InlineEntry, CollectionEntry.InlineEntry.Builder, CollectionEntry.InlineEntryOrBuilder> private com.google.protobuf.SingleFieldBuilder
<ResourceLocator, ResourceLocator.Builder, ResourceLocatorOrBuilder> private Object
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(CollectionEntry result) private void
buildPartialOneofs
(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.Descriptor
com.google.protobuf.Descriptors.Descriptor
The 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.boolean
The resource is inlined in the list collection.boolean
A resource locator describing how the member resource is to be located.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private 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 boolean
mergeFrom
(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, 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
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<CollectionEntry.Builder>
-
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<CollectionEntry.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<CollectionEntry.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
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CollectionEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CollectionEntry.Builder>
- Throws:
IOException
-
getResourceSpecifierCase
- Specified by:
getResourceSpecifierCase
in 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:
hasLocator
in 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:
getLocator
in 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:
getLocatorOrBuilder
in 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:
hasInlineEntry
in 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:
getInlineEntry
in 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:
getInlineEntryOrBuilder
in 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;
-