Send feedback
Class ServiceConfig.Builder (1.73.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class ServiceConfig . Builder extends GeneratedMessageV3 . Builder<ServiceConfig . Builder > implements ServiceConfigOrBuilder
Specifies eligibility information for the service.
Protobuf type google.cloud.networkconnectivity.v1.ServiceConfig
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 ServiceConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ServiceConfig build ()
buildPartial()
public ServiceConfig buildPartial ()
clear()
public ServiceConfig . Builder clear ()
Overrides
clearEligibilityCriteria()
public ServiceConfig . Builder clearEligibilityCriteria ()
Output only. The eligibility criteria for the service.
.google.cloud.networkconnectivity.v1.ServiceConfig.EligibilityCriteria eligibility_criteria = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ServiceConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSupportEndTime()
public ServiceConfig . Builder clearSupportEndTime ()
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public ServiceConfig . Builder clone ()
Overrides
getDefaultInstanceForType()
public ServiceConfig getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getEligibilityCriteria()
public ServiceConfig . EligibilityCriteria getEligibilityCriteria ()
Output only. The eligibility criteria for the service.
.google.cloud.networkconnectivity.v1.ServiceConfig.EligibilityCriteria eligibility_criteria = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEligibilityCriteriaValue()
public int getEligibilityCriteriaValue ()
Output only. The eligibility criteria for the service.
.google.cloud.networkconnectivity.v1.ServiceConfig.EligibilityCriteria eligibility_criteria = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The enum numeric value on the wire for eligibilityCriteria.
getSupportEndTime()
public Timestamp getSupportEndTime ()
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The supportEndTime.
getSupportEndTimeBuilder()
public Timestamp . Builder getSupportEndTimeBuilder ()
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSupportEndTimeOrBuilder()
public TimestampOrBuilder getSupportEndTimeOrBuilder ()
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasSupportEndTime()
public boolean hasSupportEndTime ()
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the supportEndTime field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ServiceConfig other)
public ServiceConfig . Builder mergeFrom ( ServiceConfig other )
public ServiceConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ServiceConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeSupportEndTime(Timestamp value)
public ServiceConfig . Builder mergeSupportEndTime ( Timestamp value )
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setEligibilityCriteria(ServiceConfig.EligibilityCriteria value)
public ServiceConfig . Builder setEligibilityCriteria ( ServiceConfig . EligibilityCriteria value )
Output only. The eligibility criteria for the service.
.google.cloud.networkconnectivity.v1.ServiceConfig.EligibilityCriteria eligibility_criteria = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setEligibilityCriteriaValue(int value)
public ServiceConfig . Builder setEligibilityCriteriaValue ( int value )
Output only. The eligibility criteria for the service.
.google.cloud.networkconnectivity.v1.ServiceConfig.EligibilityCriteria eligibility_criteria = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
int
The enum numeric value on the wire for eligibilityCriteria to set.
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSupportEndTime(Timestamp value)
public ServiceConfig . Builder setSupportEndTime ( Timestamp value )
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setSupportEndTime(Timestamp.Builder builderForValue)
public ServiceConfig . Builder setSupportEndTime ( Timestamp . Builder builderForValue )
Output only. The end time for eligibility criteria support. If not
specified, no planned end time is set.
.google.protobuf.Timestamp support_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
builderForValue
Builder
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConfig . 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-09-15 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-09-15 UTC."],[],[],null,[]]