Send feedback
Class LocationIdentifier.LinkedLocation.Builder (0.1.0)
public static final class LocationIdentifier . LinkedLocation . Builder extends GeneratedMessageV3 . Builder<LocationIdentifier . LinkedLocation . Builder > implements LocationIdentifier . LinkedLocationOrBuilder
Protobuf type google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation
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 LocationIdentifier . LinkedLocation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public LocationIdentifier . LinkedLocation build ()
buildPartial()
public LocationIdentifier . LinkedLocation buildPartial ()
clear()
public LocationIdentifier . LinkedLocation . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LocationIdentifier . LinkedLocation . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLabel()
public LocationIdentifier . LinkedLocation . Builder clearLabel ()
clearLocation()
public LocationIdentifier . LinkedLocation . Builder clearLocation ()
Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
clearLocationLevel()
public LocationIdentifier . LinkedLocation . Builder clearLocationLevel ()
The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public LocationIdentifier . LinkedLocation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public LocationIdentifier . LinkedLocation . Builder clone ()
Overrides
getDefaultInstanceForType()
public LocationIdentifier . LinkedLocation getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getLabel()
Returns
Type
Description
String
The label.
getLabelBytes()
public ByteString getLabelBytes ()
Returns
Type
Description
ByteString
The bytes for label.
getLocation()
public String getLocation ()
Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The location.
getLocationBytes()
public ByteString getLocationBytes ()
Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for location.
getLocationLevel()
public LocationLevel getLocationLevel ()
The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
getLocationLevelValue()
public int getLocationLevelValue ()
The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
Returns
Type
Description
int
The enum numeric value on the wire for locationLevel.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(LocationIdentifier.LinkedLocation other)
public LocationIdentifier . LinkedLocation . Builder mergeFrom ( LocationIdentifier . LinkedLocation other )
public LocationIdentifier . LinkedLocation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public LocationIdentifier . LinkedLocation . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LocationIdentifier . LinkedLocation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LocationIdentifier . LinkedLocation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLabel(String value)
public LocationIdentifier . LinkedLocation . Builder setLabel ( String value )
Parameter
Name
Description
value
String The label to set.
setLabelBytes(ByteString value)
public LocationIdentifier . LinkedLocation . Builder setLabelBytes ( ByteString value )
Parameter
Name
Description
value
ByteString The bytes for label to set.
setLocation(String value)
public LocationIdentifier . LinkedLocation . Builder setLocation ( String value )
Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String The location to set.
setLocationBytes(ByteString value)
public LocationIdentifier . LinkedLocation . Builder setLocationBytes ( ByteString value )
Required. The linked cloud location.
string location = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString The bytes for location to set.
setLocationLevel(LocationLevel value)
public LocationIdentifier . LinkedLocation . Builder setLocationLevel ( LocationLevel value )
The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
Parameter
Name
Description
value
LocationLevel The locationLevel to set.
setLocationLevelValue(int value)
public LocationIdentifier . LinkedLocation . Builder setLocationLevelValue ( int value )
The location level such as a region.
.google.cloud.capacityplanner.v1beta.LocationLevel location_level = 1;
Parameter
Name
Description
value
int The enum numeric value on the wire for locationLevel to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LocationIdentifier . LinkedLocation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LocationIdentifier . LinkedLocation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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 2025-10-28 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 2025-10-28 UTC."],[],[]]