Class FetchInventoryResponse.Builder

  • All Implemented Interfaces:
    FetchInventoryResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    FetchInventoryResponse

    public static final class FetchInventoryResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>
    implements FetchInventoryResponseOrBuilder
     Response message for
     [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
     
    Protobuf type google.cloud.vmmigration.v1.FetchInventoryResponse
    • 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<FetchInventoryResponse.Builder>
      • clear

        public FetchInventoryResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.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<FetchInventoryResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public FetchInventoryResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>
      • clearField

        public FetchInventoryResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>
      • clearOneof

        public FetchInventoryResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>
      • setRepeatedField

        public FetchInventoryResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>
      • addRepeatedField

        public FetchInventoryResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>
      • isInitialized

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

        public FetchInventoryResponse.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<FetchInventoryResponse.Builder>
        Throws:
        IOException
      • hasVmwareVms

        public boolean hasVmwareVms()
         The description of the VMs in a Source of type Vmware.
         
        .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
        Specified by:
        hasVmwareVms in interface FetchInventoryResponseOrBuilder
        Returns:
        Whether the vmwareVms field is set.
      • clearVmwareVms

        public FetchInventoryResponse.Builder clearVmwareVms()
         The description of the VMs in a Source of type Vmware.
         
        .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
      • getVmwareVmsBuilder

        public VmwareVmsDetails.Builder getVmwareVmsBuilder()
         The description of the VMs in a Source of type Vmware.
         
        .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
      • hasAwsVms

        public boolean hasAwsVms()
         The description of the VMs in a Source of type AWS.
         
        .google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
        Specified by:
        hasAwsVms in interface FetchInventoryResponseOrBuilder
        Returns:
        Whether the awsVms field is set.
      • clearAwsVms

        public FetchInventoryResponse.Builder clearAwsVms()
         The description of the VMs in a Source of type AWS.
         
        .google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
      • getAwsVmsBuilder

        public AwsVmsDetails.Builder getAwsVmsBuilder()
         The description of the VMs in a Source of type AWS.
         
        .google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface FetchInventoryResponseOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface FetchInventoryResponseOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public FetchInventoryResponse.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public FetchInventoryResponse.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public FetchInventoryResponse.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public FetchInventoryResponse.Builder clearUpdateTime()
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The timestamp when the source was last queried (if the result
         is from the cache).
         
        .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface FetchInventoryResponseOrBuilder
      • setUnknownFields

        public final FetchInventoryResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>
      • mergeUnknownFields

        public final FetchInventoryResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FetchInventoryResponse.Builder>