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 |
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;
getStrokeColorOrBuilder()
public ColorOrBuilder getStrokeColorOrBuilder()
The colors to use when the type is BORDER_TYPE_STROKE
.
.google.type.Color stroke_color = 2;
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 | 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 | 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;
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