public final class EstimateDataSizeRequest extends GeneratedMessageV3 implements EstimateDataSizeRequestOrBuilder
Request message for
EstimateBillingService.EstimateDataSize
method
Protobuf type google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FILE_DATA_SOURCE_FIELD_NUMBER
public static final int FILE_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WEBSITE_DATA_SOURCE_FIELD_NUMBER
public static final int WEBSITE_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EstimateDataSizeRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EstimateDataSizeRequest.Builder newBuilder()
newBuilder(EstimateDataSizeRequest prototype)
public static EstimateDataSizeRequest.Builder newBuilder(EstimateDataSizeRequest prototype)
public static EstimateDataSizeRequest parseDelimitedFrom(InputStream input)
public static EstimateDataSizeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EstimateDataSizeRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EstimateDataSizeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EstimateDataSizeRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EstimateDataSizeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EstimateDataSizeRequest parseFrom(CodedInputStream input)
public static EstimateDataSizeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EstimateDataSizeRequest parseFrom(InputStream input)
public static EstimateDataSizeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EstimateDataSizeRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EstimateDataSizeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EstimateDataSizeRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDataSourceCase()
public EstimateDataSizeRequest.DataSourceCase getDataSourceCase()
getDefaultInstanceForType()
public EstimateDataSizeRequest getDefaultInstanceForType()
getFileDataSource()
public EstimateDataSizeRequest.FileDataSource getFileDataSource()
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.
|
getParserForType()
public Parser<EstimateDataSizeRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getWebsiteDataSource()
public EstimateDataSizeRequest.WebsiteDataSource getWebsiteDataSource()
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EstimateDataSizeRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EstimateDataSizeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EstimateDataSizeRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides