public static final class UsageExportLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder> implements UsageExportLocationOrBuilder
The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.Protobuf type
google.cloud.compute.v1.UsageExportLocation| Modifier and Type | Method and Description |
|---|---|
UsageExportLocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsageExportLocation |
build() |
UsageExportLocation |
buildPartial() |
UsageExportLocation.Builder |
clear() |
UsageExportLocation.Builder |
clearBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored.
|
UsageExportLocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UsageExportLocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UsageExportLocation.Builder |
clearReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName.
|
UsageExportLocation.Builder |
clone() |
String |
getBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored.
|
com.google.protobuf.ByteString |
getBucketNameBytes()
The name of an existing bucket in Cloud Storage where the usage report object is stored.
|
UsageExportLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName.
|
com.google.protobuf.ByteString |
getReportNamePrefixBytes()
An optional prefix for the name of the usage report object stored in bucketName.
|
boolean |
hasBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored.
|
boolean |
hasReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UsageExportLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UsageExportLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
UsageExportLocation.Builder |
mergeFrom(UsageExportLocation other) |
UsageExportLocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UsageExportLocation.Builder |
setBucketName(String value)
The name of an existing bucket in Cloud Storage where the usage report object is stored.
|
UsageExportLocation.Builder |
setBucketNameBytes(com.google.protobuf.ByteString value)
The name of an existing bucket in Cloud Storage where the usage report object is stored.
|
UsageExportLocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsageExportLocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UsageExportLocation.Builder |
setReportNamePrefix(String value)
An optional prefix for the name of the usage report object stored in bucketName.
|
UsageExportLocation.Builder |
setReportNamePrefixBytes(com.google.protobuf.ByteString value)
An optional prefix for the name of the usage report object stored in bucketName.
|
UsageExportLocation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UsageExportLocation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UsageExportLocation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UsageExportLocation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder mergeFrom(UsageExportLocation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public UsageExportLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UsageExportLocation.Builder>IOExceptionpublic boolean hasBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
optional string bucket_name = 283610048;hasBucketName in interface UsageExportLocationOrBuilderpublic String getBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
optional string bucket_name = 283610048;getBucketName in interface UsageExportLocationOrBuilderpublic com.google.protobuf.ByteString getBucketNameBytes()
The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
optional string bucket_name = 283610048;getBucketNameBytes in interface UsageExportLocationOrBuilderpublic UsageExportLocation.Builder setBucketName(String value)
The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
optional string bucket_name = 283610048;value - The bucketName to set.public UsageExportLocation.Builder clearBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
optional string bucket_name = 283610048;public UsageExportLocation.Builder setBucketNameBytes(com.google.protobuf.ByteString value)
The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
optional string bucket_name = 283610048;value - The bytes for bucketName to set.public boolean hasReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
optional string report_name_prefix = 320198715;hasReportNamePrefix in interface UsageExportLocationOrBuilderpublic String getReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
optional string report_name_prefix = 320198715;getReportNamePrefix in interface UsageExportLocationOrBuilderpublic com.google.protobuf.ByteString getReportNamePrefixBytes()
An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
optional string report_name_prefix = 320198715;getReportNamePrefixBytes in interface UsageExportLocationOrBuilderpublic UsageExportLocation.Builder setReportNamePrefix(String value)
An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
optional string report_name_prefix = 320198715;value - The reportNamePrefix to set.public UsageExportLocation.Builder clearReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
optional string report_name_prefix = 320198715;public UsageExportLocation.Builder setReportNamePrefixBytes(com.google.protobuf.ByteString value)
An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
optional string report_name_prefix = 320198715;value - The bytes for reportNamePrefix to set.public final UsageExportLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>public final UsageExportLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsageExportLocation.Builder>Copyright © 2023 Google LLC. All rights reserved.