public static final class LocationPolicyLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.Builder> implements LocationPolicyLocationOrBuilder
Protobuf type
google.cloud.compute.v1.LocationPolicyLocation| Modifier and Type | Method and Description |
|---|---|
LocationPolicyLocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocationPolicyLocation |
build() |
LocationPolicyLocation |
buildPartial() |
LocationPolicyLocation.Builder |
clear() |
LocationPolicyLocation.Builder |
clearConstraints()
Constraints that the caller requires on the result distribution in this zone.
|
LocationPolicyLocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LocationPolicyLocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LocationPolicyLocation.Builder |
clearPreference()
Preference for a given location.
|
LocationPolicyLocation.Builder |
clone() |
LocationPolicyLocationConstraints |
getConstraints()
Constraints that the caller requires on the result distribution in this zone.
|
LocationPolicyLocationConstraints.Builder |
getConstraintsBuilder()
Constraints that the caller requires on the result distribution in this zone.
|
LocationPolicyLocationConstraintsOrBuilder |
getConstraintsOrBuilder()
Constraints that the caller requires on the result distribution in this zone.
|
LocationPolicyLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPreference()
Preference for a given location.
|
com.google.protobuf.ByteString |
getPreferenceBytes()
Preference for a given location.
|
boolean |
hasConstraints()
Constraints that the caller requires on the result distribution in this zone.
|
boolean |
hasPreference()
Preference for a given location.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LocationPolicyLocation.Builder |
mergeConstraints(LocationPolicyLocationConstraints value)
Constraints that the caller requires on the result distribution in this zone.
|
LocationPolicyLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LocationPolicyLocation.Builder |
mergeFrom(LocationPolicyLocation other) |
LocationPolicyLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
LocationPolicyLocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LocationPolicyLocation.Builder |
setConstraints(LocationPolicyLocationConstraints.Builder builderForValue)
Constraints that the caller requires on the result distribution in this zone.
|
LocationPolicyLocation.Builder |
setConstraints(LocationPolicyLocationConstraints value)
Constraints that the caller requires on the result distribution in this zone.
|
LocationPolicyLocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocationPolicyLocation.Builder |
setPreference(String value)
Preference for a given location.
|
LocationPolicyLocation.Builder |
setPreferenceBytes(com.google.protobuf.ByteString value)
Preference for a given location.
|
LocationPolicyLocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LocationPolicyLocation.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<LocationPolicyLocation.Builder>public LocationPolicyLocation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.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<LocationPolicyLocation.Builder>public LocationPolicyLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LocationPolicyLocation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LocationPolicyLocation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LocationPolicyLocation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.Builder>public LocationPolicyLocation.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<LocationPolicyLocation.Builder>public LocationPolicyLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.Builder>public LocationPolicyLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.Builder>public LocationPolicyLocation.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<LocationPolicyLocation.Builder>public LocationPolicyLocation.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<LocationPolicyLocation.Builder>public LocationPolicyLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocationPolicyLocation.Builder>public LocationPolicyLocation.Builder mergeFrom(LocationPolicyLocation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.Builder>public LocationPolicyLocation.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<LocationPolicyLocation.Builder>IOExceptionpublic boolean hasConstraints()
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
hasConstraints in interface LocationPolicyLocationOrBuilderpublic LocationPolicyLocationConstraints getConstraints()
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
getConstraints in interface LocationPolicyLocationOrBuilderpublic LocationPolicyLocation.Builder setConstraints(LocationPolicyLocationConstraints value)
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
public LocationPolicyLocation.Builder setConstraints(LocationPolicyLocationConstraints.Builder builderForValue)
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
public LocationPolicyLocation.Builder mergeConstraints(LocationPolicyLocationConstraints value)
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
public LocationPolicyLocation.Builder clearConstraints()
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
public LocationPolicyLocationConstraints.Builder getConstraintsBuilder()
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
public LocationPolicyLocationConstraintsOrBuilder getConstraintsOrBuilder()
Constraints that the caller requires on the result distribution in this zone.
optional .google.cloud.compute.v1.LocationPolicyLocationConstraints constraints = 3909174;
getConstraintsOrBuilder in interface LocationPolicyLocationOrBuilderpublic boolean hasPreference()
Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
optional string preference = 150781147;hasPreference in interface LocationPolicyLocationOrBuilderpublic String getPreference()
Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
optional string preference = 150781147;getPreference in interface LocationPolicyLocationOrBuilderpublic com.google.protobuf.ByteString getPreferenceBytes()
Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
optional string preference = 150781147;getPreferenceBytes in interface LocationPolicyLocationOrBuilderpublic LocationPolicyLocation.Builder setPreference(String value)
Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
optional string preference = 150781147;value - The preference to set.public LocationPolicyLocation.Builder clearPreference()
Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
optional string preference = 150781147;public LocationPolicyLocation.Builder setPreferenceBytes(com.google.protobuf.ByteString value)
Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
optional string preference = 150781147;value - The bytes for preference to set.public final LocationPolicyLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.Builder>public final LocationPolicyLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocationPolicyLocation.Builder>Copyright © 2023 Google LLC. All rights reserved.