public static final class EstimateDataSizeRequest.Builder extends GeneratedMessageV3.Builder<EstimateDataSizeRequest.Builder> implements EstimateDataSizeRequestOrBuilder
Request message for
EstimateBillingService.EstimateDataSize
method
Protobuf type google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 EstimateDataSizeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EstimateDataSizeRequest build()
buildPartial()
public EstimateDataSizeRequest buildPartial()
clear()
public EstimateDataSizeRequest.Builder clear()
Overrides
clearDataSource()
public EstimateDataSizeRequest.Builder clearDataSource()
clearField(Descriptors.FieldDescriptor field)
public EstimateDataSizeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFileDataSource()
public EstimateDataSizeRequest.Builder clearFileDataSource()
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
clearLocation()
public EstimateDataSizeRequest.Builder clearLocation()
Required. Full resource name of the location, such as
projects/{project}/locations/{location}
.
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public EstimateDataSizeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWebsiteDataSource()
public EstimateDataSizeRequest.Builder clearWebsiteDataSource()
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;
clone()
public EstimateDataSizeRequest.Builder clone()
Overrides
getDataSourceCase()
public EstimateDataSizeRequest.DataSourceCase getDataSourceCase()
getDefaultInstanceForType()
public EstimateDataSizeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFileDataSource()
public EstimateDataSizeRequest.FileDataSource getFileDataSource()
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
getFileDataSourceBuilder()
public EstimateDataSizeRequest.FileDataSource.Builder getFileDataSourceBuilder()
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
getFileDataSourceOrBuilder()
public EstimateDataSizeRequest.FileDataSourceOrBuilder getFileDataSourceOrBuilder()
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
getLocation()
public String getLocation()
Required. Full resource name of the location, such as
projects/{project}/locations/{location}
.
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The location.
|
getLocationBytes()
public ByteString getLocationBytes()
Required. Full resource name of the location, such as
projects/{project}/locations/{location}
.
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for location.
|
getWebsiteDataSource()
public EstimateDataSizeRequest.WebsiteDataSource getWebsiteDataSource()
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;
getWebsiteDataSourceBuilder()
public EstimateDataSizeRequest.WebsiteDataSource.Builder getWebsiteDataSourceBuilder()
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;
getWebsiteDataSourceOrBuilder()
public EstimateDataSizeRequest.WebsiteDataSourceOrBuilder getWebsiteDataSourceOrBuilder()
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;
hasFileDataSource()
public boolean hasFileDataSource()
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
Returns |
---|
Type | Description |
boolean | Whether the fileDataSource field is set.
|
hasWebsiteDataSource()
public boolean hasWebsiteDataSource()
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;
Returns |
---|
Type | Description |
boolean | Whether the websiteDataSource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFileDataSource(EstimateDataSizeRequest.FileDataSource value)
public EstimateDataSizeRequest.Builder mergeFileDataSource(EstimateDataSizeRequest.FileDataSource value)
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
mergeFrom(EstimateDataSizeRequest other)
public EstimateDataSizeRequest.Builder mergeFrom(EstimateDataSizeRequest other)
public EstimateDataSizeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EstimateDataSizeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EstimateDataSizeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)
public EstimateDataSizeRequest.Builder mergeWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public EstimateDataSizeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFileDataSource(EstimateDataSizeRequest.FileDataSource value)
public EstimateDataSizeRequest.Builder setFileDataSource(EstimateDataSizeRequest.FileDataSource value)
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
setFileDataSource(EstimateDataSizeRequest.FileDataSource.Builder builderForValue)
public EstimateDataSizeRequest.Builder setFileDataSource(EstimateDataSizeRequest.FileDataSource.Builder builderForValue)
Structured or unstructured data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource file_data_source = 3;
setLocation(String value)
public EstimateDataSizeRequest.Builder setLocation(String value)
Required. Full resource name of the location, such as
projects/{project}/locations/{location}
.
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The location to set.
|
setLocationBytes(ByteString value)
public EstimateDataSizeRequest.Builder setLocationBytes(ByteString value)
Required. Full resource name of the location, such as
projects/{project}/locations/{location}
.
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for location to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EstimateDataSizeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EstimateDataSizeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)
public EstimateDataSizeRequest.Builder setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource value)
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;
setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource.Builder builderForValue)
public EstimateDataSizeRequest.Builder setWebsiteDataSource(EstimateDataSizeRequest.WebsiteDataSource.Builder builderForValue)
Website data.
.google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource website_data_source = 2;