Class BorderStyle.Builder (0.1.0)
0.51.0 (latest)
0.49.0
0.47.0
0.46.0
0.45.0
0.44.0
0.42.0
0.40.0
0.39.0
0.38.0
0.37.0
0.36.0
0.34.0
0.32.0
0.31.0
0.28.0
0.27.0
0.26.0
0.24.0
0.23.0
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.1.0
public static final class BorderStyle . Builder extends GeneratedMessageV3 . Builder<BorderStyle . Builder > implements BorderStyleOrBuilder
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 BorderStyle . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public BorderStyle build ()
buildPartial()
public BorderStyle buildPartial ()
clear()
public BorderStyle . Builder clear ()
Overrides
clearCornerRadius()
public BorderStyle . Builder clearCornerRadius ()
The corner radius for the border.
int32 corner_radius = 3;
clearField(Descriptors.FieldDescriptor field)
public BorderStyle . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BorderStyle . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStrokeColor()
public BorderStyle . Builder clearStrokeColor ()
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
clearType()
public BorderStyle . Builder clearType ()
The border type.
.google.apps.card.v1.BorderStyle.BorderType type = 1;
clone()
public BorderStyle . Builder clone ()
Overrides
getCornerRadius()
public int getCornerRadius ()
The corner radius for the border.
int32 corner_radius = 3;
Returns
Type
Description
int
The cornerRadius.
getDefaultInstanceForType()
public BorderStyle getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getStrokeColor()
public Color getStrokeColor ()
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
Returns
Type
Description
com.google.type.Color
The strokeColor.
getStrokeColorBuilder()
public Color . Builder getStrokeColorBuilder ()
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
Returns
Type
Description
com.google.type.Color.Builder
getStrokeColorOrBuilder()
public ColorOrBuilder getStrokeColorOrBuilder ()
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
Returns
Type
Description
com.google.type.ColorOrBuilder
getType()
public BorderStyle . BorderType getType ()
The border type.
.google.apps.card.v1.BorderStyle.BorderType type = 1;
getTypeValue()
public int getTypeValue ()
The border type.
.google.apps.card.v1.BorderStyle.BorderType type = 1;
Returns
Type
Description
int
The enum numeric value on the wire for type.
hasStrokeColor()
public boolean hasStrokeColor ()
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
Returns
Type
Description
boolean
Whether the strokeColor field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(BorderStyle other)
public BorderStyle . Builder mergeFrom ( BorderStyle other )
public BorderStyle . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public BorderStyle . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeStrokeColor(Color value)
public BorderStyle . Builder mergeStrokeColor ( Color value )
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
Parameter
Name
Description
value
com.google.type.Color
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BorderStyle . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCornerRadius(int value)
public BorderStyle . Builder setCornerRadius ( int value )
The corner radius for the border.
int32 corner_radius = 3;
Parameter
Name
Description
value
int The cornerRadius to set.
setField(Descriptors.FieldDescriptor field, Object value)
public BorderStyle . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BorderStyle . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStrokeColor(Color value)
public BorderStyle . Builder setStrokeColor ( Color value )
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
Parameter
Name
Description
value
com.google.type.Color
setStrokeColor(Color.Builder builderForValue)
public BorderStyle . Builder setStrokeColor ( Color . Builder builderForValue )
The colors to use when the type is BORDER_TYPE_STROKE.
.google.type.Color stroke_color = 2;
Parameter
Name
Description
builderForValue
com.google.type.Color.Builder
setType(BorderStyle.BorderType value)
public BorderStyle . Builder setType ( BorderStyle . BorderType value )
The border type.
.google.apps.card.v1.BorderStyle.BorderType type = 1;
setTypeValue(int value)
public BorderStyle . Builder setTypeValue ( int value )
The border type.
.google.apps.card.v1.BorderStyle.BorderType type = 1;
Parameter
Name
Description
value
int The enum numeric value on the wire for type to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final BorderStyle . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]