Send feedback
Class TargetsTypeCondition.Builder (1.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.50.0 keyboard_arrow_down
public static final class TargetsTypeCondition . Builder extends GeneratedMessageV3 . Builder<TargetsTypeCondition . Builder > implements TargetsTypeConditionOrBuilder
TargetsTypeCondition contains information on whether the Targets defined in
the Delivery Pipeline are of the same type.
Protobuf type google.cloud.deploy.v1.TargetsTypeCondition
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 TargetsTypeCondition . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public TargetsTypeCondition build ()
buildPartial()
public TargetsTypeCondition buildPartial ()
clear()
public TargetsTypeCondition . Builder clear ()
Overrides
clearErrorDetails()
public TargetsTypeCondition . Builder clearErrorDetails ()
Human readable error message.
string error_details = 2;
clearField(Descriptors.FieldDescriptor field)
public TargetsTypeCondition . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetsTypeCondition . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStatus()
public TargetsTypeCondition . Builder clearStatus ()
True if the targets are all a comparable type. For example this is true if
all targets are GKE clusters. This is false if some targets are Cloud Run
targets and others are GKE clusters.
bool status = 1;
clone()
public TargetsTypeCondition . Builder clone ()
Overrides
getDefaultInstanceForType()
public TargetsTypeCondition getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getErrorDetails()
public String getErrorDetails ()
Human readable error message.
string error_details = 2;
Returns
Type
Description
String
The errorDetails.
getErrorDetailsBytes()
public ByteString getErrorDetailsBytes ()
Human readable error message.
string error_details = 2;
Returns
Type
Description
ByteString
The bytes for errorDetails.
getStatus()
public boolean getStatus ()
True if the targets are all a comparable type. For example this is true if
all targets are GKE clusters. This is false if some targets are Cloud Run
targets and others are GKE clusters.
bool status = 1;
Returns
Type
Description
boolean
The status.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(TargetsTypeCondition other)
public TargetsTypeCondition . Builder mergeFrom ( TargetsTypeCondition other )
public TargetsTypeCondition . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TargetsTypeCondition . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetsTypeCondition . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setErrorDetails(String value)
public TargetsTypeCondition . Builder setErrorDetails ( String value )
Human readable error message.
string error_details = 2;
Parameter
Name
Description
value
String
The errorDetails to set.
setErrorDetailsBytes(ByteString value)
public TargetsTypeCondition . Builder setErrorDetailsBytes ( ByteString value )
Human readable error message.
string error_details = 2;
Parameter
Name
Description
value
ByteString
The bytes for errorDetails to set.
setField(Descriptors.FieldDescriptor field, Object value)
public TargetsTypeCondition . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetsTypeCondition . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStatus(boolean value)
public TargetsTypeCondition . Builder setStatus ( boolean value )
True if the targets are all a comparable type. For example this is true if
all targets are GKE clusters. This is false if some targets are Cloud Run
targets and others are GKE clusters.
bool status = 1;
Parameter
Name
Description
value
boolean
The status to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetsTypeCondition . 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-01-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-01-28 UTC."],[],[]]