public static final class StatefulPolicy.Builder extends GeneratedMessageV3.Builder<StatefulPolicy.Builder> implements StatefulPolicyOrBuilder
Protobuf type google.cloud.compute.v1.StatefulPolicy
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 StatefulPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StatefulPolicy build()
buildPartial()
public StatefulPolicy buildPartial()
clear()
public StatefulPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StatefulPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StatefulPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPreservedState()
public StatefulPolicy.Builder clearPreservedState()
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
clone()
public StatefulPolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public StatefulPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPreservedState()
public StatefulPolicyPreservedState getPreservedState()
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
getPreservedStateBuilder()
public StatefulPolicyPreservedState.Builder getPreservedStateBuilder()
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
getPreservedStateOrBuilder()
public StatefulPolicyPreservedStateOrBuilder getPreservedStateOrBuilder()
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
hasPreservedState()
public boolean hasPreservedState()
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
Returns |
---|
Type | Description |
boolean | Whether the preservedState field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StatefulPolicy other)
public StatefulPolicy.Builder mergeFrom(StatefulPolicy other)
public StatefulPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StatefulPolicy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePreservedState(StatefulPolicyPreservedState value)
public StatefulPolicy.Builder mergePreservedState(StatefulPolicyPreservedState value)
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPreservedState(StatefulPolicyPreservedState value)
public StatefulPolicy.Builder setPreservedState(StatefulPolicyPreservedState value)
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
setPreservedState(StatefulPolicyPreservedState.Builder builderForValue)
public StatefulPolicy.Builder setPreservedState(StatefulPolicyPreservedState.Builder builderForValue)
optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatefulPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides