Class CollectionEntry.InlineEntry.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • name_

        private java.lang.Object name_
      • 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_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CollectionEntry.InlineEntry.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CollectionEntry.InlineEntry.Builder>
      • getDefaultInstanceForType

        public CollectionEntry.InlineEntry getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CollectionEntry.InlineEntry build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CollectionEntry.InlineEntry buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CollectionEntry.InlineEntry.Builder>
      • mergeFrom

        public CollectionEntry.InlineEntry.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CollectionEntry.InlineEntry.Builder>
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
         Optional name to describe the inlined resource. Resource names must match
         ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once
         finalized, probably should be a RFC3986 pchar). This name allows
         reference via the #entry directive in ResourceLocator.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getName in interface CollectionEntry.InlineEntryOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Optional name to describe the inlined resource. Resource names must match
         ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once
         finalized, probably should be a RFC3986 pchar). This name allows
         reference via the #entry directive in ResourceLocator.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getNameBytes in interface CollectionEntry.InlineEntryOrBuilder
        Returns:
        The bytes for name.
      • setName

        public CollectionEntry.InlineEntry.Builder setName​(java.lang.String value)
         Optional name to describe the inlined resource. Resource names must match
         ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once
         finalized, probably should be a RFC3986 pchar). This name allows
         reference via the #entry directive in ResourceLocator.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public CollectionEntry.InlineEntry.Builder clearName()
         Optional name to describe the inlined resource. Resource names must match
         ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once
         finalized, probably should be a RFC3986 pchar). This name allows
         reference via the #entry directive in ResourceLocator.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public CollectionEntry.InlineEntry.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Optional name to describe the inlined resource. Resource names must match
         ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once
         finalized, probably should be a RFC3986 pchar). This name allows
         reference via the #entry directive in ResourceLocator.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getVersion

        public java.lang.String getVersion()
         The resource's logical version. It is illegal to have the same named xDS
         resource name at a given version with different resource payloads.
         
        string version = 2;
        Specified by:
        getVersion in interface CollectionEntry.InlineEntryOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         The resource's logical version. It is illegal to have the same named xDS
         resource name at a given version with different resource payloads.
         
        string version = 2;
        Specified by:
        getVersionBytes in interface CollectionEntry.InlineEntryOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public CollectionEntry.InlineEntry.Builder setVersion​(java.lang.String value)
         The resource's logical version. It is illegal to have the same named xDS
         resource name at a given version with different resource payloads.
         
        string version = 2;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public CollectionEntry.InlineEntry.Builder clearVersion()
         The resource's logical version. It is illegal to have the same named xDS
         resource name at a given version with different resource payloads.
         
        string version = 2;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public CollectionEntry.InlineEntry.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         The resource's logical version. It is illegal to have the same named xDS
         resource name at a given version with different resource payloads.
         
        string version = 2;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • hasResource

        public boolean hasResource()
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
        Specified by:
        hasResource in interface CollectionEntry.InlineEntryOrBuilder
        Returns:
        Whether the resource field is set.
      • getResource

        public com.google.protobuf.Any getResource()
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
        Specified by:
        getResource in interface CollectionEntry.InlineEntryOrBuilder
        Returns:
        The resource.
      • setResource

        public CollectionEntry.InlineEntry.Builder setResource​(com.google.protobuf.Any value)
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
      • setResource

        public CollectionEntry.InlineEntry.Builder setResource​(com.google.protobuf.Any.Builder builderForValue)
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
      • mergeResource

        public CollectionEntry.InlineEntry.Builder mergeResource​(com.google.protobuf.Any value)
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
      • getResourceBuilder

        public com.google.protobuf.Any.Builder getResourceBuilder()
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
      • getResourceFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,​com.google.protobuf.Any.Builder,​com.google.protobuf.AnyOrBuilder> getResourceFieldBuilder()
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;