Send feedback
Class LocationMetadata.Builder (3.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
3.28.0 (latest)
3.26.0
3.24.0
3.23.10
3.22.6
3.21.4
3.20.7
3.19.0
3.18.0
3.17.2
3.16.2
3.15.17
3.14.9
3.13.7
3.12.1
3.11.10
3.10.7
3.9.0
3.8.0
3.7.6
3.6.4
3.5.3
public static final class LocationMetadata . Builder extends GeneratedMessage . Builder<LocationMetadata . Builder > implements LocationMetadataOrBuilder
Cloud Logging specific location metadata.
Protobuf type google.logging.v2.LocationMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public LocationMetadata build ()
public LocationMetadata buildPartial ()
public LocationMetadata . Builder clear ()
Overrides
public LocationMetadata . Builder clearLogAnalyticsEnabled ()
Indicates whether or not Log Analytics features are supported in the given
location.
bool log_analytics_enabled = 1;
public LocationMetadata getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public boolean getLogAnalyticsEnabled ()
Indicates whether or not Log Analytics features are supported in the given
location.
bool log_analytics_enabled = 1;
Returns
Type
Description
boolean
The logAnalyticsEnabled.
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public LocationMetadata . Builder mergeFrom ( LocationMetadata other )
public LocationMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public LocationMetadata . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public LocationMetadata . Builder setLogAnalyticsEnabled ( boolean value )
Indicates whether or not Log Analytics features are supported in the given
location.
bool log_analytics_enabled = 1;
Parameter
Name
Description
value
boolean The logAnalyticsEnabled to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]