public static final class ServiceConfig.Builder extends GeneratedMessage.Builder<ServiceConfig.Builder> implements ServiceConfigOrBuilderSpecifies eligibility information for the service.
Protobuf type google.cloud.networkconnectivity.v1.ServiceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServiceConfig.BuilderImplements
ServiceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServiceConfig build()| Returns | |
|---|---|
| Type | Description |
ServiceConfig |
|
buildPartial()
public ServiceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ServiceConfig |
|
clear()
public ServiceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|
getDefaultInstanceForType()
public ServiceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServiceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.EligibilityCriteria |
The eligibilityCriteria. |
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServiceConfig other)
public ServiceConfig.Builder mergeFrom(ServiceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceConfig |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServiceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceConfig.EligibilityCriteriaThe eligibilityCriteria to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for eligibilityCriteria to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ServiceConfig.Builder |
|