public static final class FetchInventoryRequest.Builder extends GeneratedMessageV3.Builder<FetchInventoryRequest.Builder> implements FetchInventoryRequestOrBuilder
Request message for
fetchInventory.
Protobuf type google.cloud.vmmigration.v1.FetchInventoryRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchInventoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FetchInventoryRequest build()
buildPartial()
public FetchInventoryRequest buildPartial()
clear()
public FetchInventoryRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchInventoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearForceRefresh()
public FetchInventoryRequest.Builder clearForceRefresh()
If this flag is set to true, the source will be queried instead of using
cached results. Using this flag will make the call slower.
bool force_refresh = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchInventoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSource()
public FetchInventoryRequest.Builder clearSource()
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public FetchInventoryRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public FetchInventoryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getForceRefresh()
public boolean getForceRefresh()
If this flag is set to true, the source will be queried instead of using
cached results. Using this flag will make the call slower.
bool force_refresh = 2;
Returns |
---|
Type | Description |
boolean | The forceRefresh.
|
getSource()
public String getSource()
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The source.
|
getSourceBytes()
public ByteString getSourceBytes()
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for source.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FetchInventoryRequest other)
public FetchInventoryRequest.Builder mergeFrom(FetchInventoryRequest other)
public FetchInventoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FetchInventoryRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchInventoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FetchInventoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setForceRefresh(boolean value)
public FetchInventoryRequest.Builder setForceRefresh(boolean value)
If this flag is set to true, the source will be queried instead of using
cached results. Using this flag will make the call slower.
bool force_refresh = 2;
Parameter |
---|
Name | Description |
value | boolean
The forceRefresh to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchInventoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSource(String value)
public FetchInventoryRequest.Builder setSource(String value)
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The source to set.
|
setSourceBytes(ByteString value)
public FetchInventoryRequest.Builder setSourceBytes(ByteString value)
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for source to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchInventoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides