Class CreateVersionOperationMetadata.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<CreateVersionOperationMetadata.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<CreateVersionOperationMetadata.Builder>
      • getDefaultInstanceForType

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

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

        public CreateVersionOperationMetadata 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<CreateVersionOperationMetadata.Builder>
      • getVersion

        public String getVersion()
         Name of the created version.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getVersion in interface CreateVersionOperationMetadataOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Name of the created version.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getVersionBytes in interface CreateVersionOperationMetadataOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public CreateVersionOperationMetadata.Builder setVersion​(String value)
         Name of the created version.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public CreateVersionOperationMetadata.Builder clearVersion()
         Name of the created version.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setVersionBytes

        public CreateVersionOperationMetadata.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Name of the created version.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.