Class RemoveContextChildrenRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
      • 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.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
      • getDefaultInstanceForType

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

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

        public RemoveContextChildrenRequest 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.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
      • mergeFrom

        public RemoveContextChildrenRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws 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<RemoveContextChildrenRequest.Builder>
        Throws:
        IOException
      • getContext

        public String getContext()
         Required. The resource name of the parent Context.
        
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
         
        string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getContext in interface RemoveContextChildrenRequestOrBuilder
        Returns:
        The context.
      • getContextBytes

        public com.google.protobuf.ByteString getContextBytes()
         Required. The resource name of the parent Context.
        
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
         
        string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getContextBytes in interface RemoveContextChildrenRequestOrBuilder
        Returns:
        The bytes for context.
      • setContext

        public RemoveContextChildrenRequest.Builder setContext​(String value)
         Required. The resource name of the parent Context.
        
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
         
        string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The context to set.
        Returns:
        This builder for chaining.
      • clearContext

        public RemoveContextChildrenRequest.Builder clearContext()
         Required. The resource name of the parent Context.
        
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
         
        string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setContextBytes

        public RemoveContextChildrenRequest.Builder setContextBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the parent Context.
        
         Format:
         `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
         
        string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for context to set.
        Returns:
        This builder for chaining.
      • getChildContextsList

        public com.google.protobuf.ProtocolStringList getChildContextsList()
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getChildContextsList in interface RemoveContextChildrenRequestOrBuilder
        Returns:
        A list containing the childContexts.
      • getChildContextsCount

        public int getChildContextsCount()
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getChildContextsCount in interface RemoveContextChildrenRequestOrBuilder
        Returns:
        The count of childContexts.
      • getChildContexts

        public String getChildContexts​(int index)
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getChildContexts in interface RemoveContextChildrenRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The childContexts at the given index.
      • getChildContextsBytes

        public com.google.protobuf.ByteString getChildContextsBytes​(int index)
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getChildContextsBytes in interface RemoveContextChildrenRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the childContexts at the given index.
      • setChildContexts

        public RemoveContextChildrenRequest.Builder setChildContexts​(int index,
                                                                     String value)
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The childContexts to set.
        Returns:
        This builder for chaining.
      • addChildContexts

        public RemoveContextChildrenRequest.Builder addChildContexts​(String value)
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The childContexts to add.
        Returns:
        This builder for chaining.
      • addAllChildContexts

        public RemoveContextChildrenRequest.Builder addAllChildContexts​(Iterable<String> values)
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        values - The childContexts to add.
        Returns:
        This builder for chaining.
      • clearChildContexts

        public RemoveContextChildrenRequest.Builder clearChildContexts()
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • addChildContextsBytes

        public RemoveContextChildrenRequest.Builder addChildContextsBytes​(com.google.protobuf.ByteString value)
         The resource names of the child Contexts.
         
        repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes of the childContexts to add.
        Returns:
        This builder for chaining.